0% found this document useful (0 votes)
2 views1 page

HTML Code Program 2

The document contains HTML code that creates an unordered list with items 'Coffee', 'Tea', and 'Milk' using the <ul> tag. It also includes an ordered list starting from the number 5 with the same items using the <ol> tag. The lists are defined with specific types for visual representation.

Uploaded by

mokshrajpal385
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

HTML Code Program 2

The document contains HTML code that creates an unordered list with items 'Coffee', 'Tea', and 'Milk' using the <ul> tag. It also includes an ordered list starting from the number 5 with the same items using the <ol> tag. The lists are defined with specific types for visual representation.

Uploaded by

mokshrajpal385
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

<!

--write html code to create ordered and unordered list using list attributes >
<!DOCTYPE html>
<html>
<body>

<h2 >An Unordered HTML List</h2>

<ul type="disc">
<li>Coffee</li
<li>Tea</li>
<li>Milk</li>
</ul>

<h2>An Ordered HTML List</h2>

<ol type="1" start="5" >


<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>

</body>
</html>

You might also like