0% found this document useful (0 votes)
11 views2 pages

HTML List Tags Explained

The document provides an overview of HTML tags used for creating lists, including unordered lists (<UL>), ordered lists (<OL>), and list items (<li>). It includes examples of how to structure lists for days of the week and months of the year. Additionally, it mentions the <menu> tag for displaying items in a list format.

Uploaded by

Sandy
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)
11 views2 pages

HTML List Tags Explained

The document provides an overview of HTML tags used for creating lists, including unordered lists (<UL>), ordered lists (<OL>), and list items (<li>). It includes examples of how to structure lists for days of the week and months of the year. Additionally, it mentions the <menu> tag for displaying items in a list format.

Uploaded by

Sandy
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

CREATING LISTS:

CODES USED IN HTML.


1. <UL> = This tag is used to create unordered list which automatically create bullets before
text.
2. </UL> = This tag is used to end ul
3. <OL> = This tag is used to create ordered list which automatically created numbers
before text.
4. </OL> = This tag is used to such ol.
5. <li> = This tag is used to create list to create a new item is an unordered/ ordered list.
6. </Li> = This tag is used to end list. But this is optional you may or may not use.
7. < menu> = This tag is used to
< HTML> display a list of item, one item
<Head>perline.
<Title> ordered/ unordered list </title>
</Head>
<Body>
<H1 align = “ center”> Name of days in a week <H1>
<UL>
<Li> Sunday
<Li> Monday
<Li> Tuesday
<Li> Wednesday
<Li> Thursday
<Li> Friday
<Li> Saturday
</UL><br><br><br><br>
<H2 align=” center”> Names of the months
</H2>
<OL>
<Li> January
<Li> February
<Li> march
<Li>april
<Li> may
<Li>june
<Li>july
<Li> august
<Li> September
<Li> October
<Li> November
<Li> December
</OL><br><br><br>
<menu>
<Li> The first Heading Displays [Link] days.
<Li>The second heading Displays [Link] months
</menu>
</Body>
</HTML>

You might also like