In this tutorial, We will discuss about <ul> tag in html5. The <ul> tag is used for defining a unordered list. The unordered list represented items as listing without number. The changing of the list item order will not affect the meaning of list . In The unordered list the list is created by <li> tag, and <ul> tag must have opening and closing tag.
The syntax for the <ul> tag is as:
| <ul>List Of Items Here </ul> |
Example: unorderlist_tag.html.
| <!DOCTYPE html> <html> <head> <title>Example of unorderlist Tag</title> </head> <body> <ul> <li>Gyan</li> <li>Ankit</li> <li>Bikrant</li> </ul> </body> </html> |
Output:
Difference Between html5 and html4.01.
There is no attribute of this tag in html5. "type" and "compact" attribute is not supported by html5.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.