List tag
Assignments with Source code
Solution
Code:
<html>
<head>
<title> my first web page </title></head>
<body>
<ol>
<h1>list of HTML tags</h1>
<li> Header tag</li>
<li>bold tag</li>
<li> Italics tag</li>
<li>underline tag</li>
<!-- this is an example of ordered
list tag--></ol>
<hr />
<ul>
<h1>list of HTML tags</h1>
<li>Header tag</li>
<li>bold tag</li>
<li>Italic tag</li>
<li>underline tag</li>
<!-- this is an example of unordered
list tag --></ul>
</body>
</html>
Solution Code:
<html>
<head>
<title> my HTML
webpage</title></head>
<body>
<ul
style="list-style-image:url(http://www.codingmanuals.com/wp-content/uploads/2010/08/pi.gif);">
<li>Image code</li>
<li>Frame code</li>
<li>Form code</li>
</ul>
</body>
</html>
________________________________________________________________________
Output:
o Image code
o Frame code
o Form code
o Image code
o Frame code
o Form code
Solution code
<html>
<head>
<title> my HTML
webpage</title></head>
<body>
<ul
style="list-style-type:circle;">
<li>Image code</li>
<li>Frame code</li>
<li>Form code</li>
</ul>
</body>
</html>
Output:
i Image code
ii Frame code
iii Form code
i Image code
ii Frame code
iii Form code
Solution Code
<html>
<head>
<title> my HTML webpage</title></head>
<body>
<ul style="list-style-type:lower-roman;">
<li>Image code</li>
<li>Frame code</li>
<li>Form code</li>
</ul>
</body>
</html>
No comments:
Post a Comment