Home Tutorial Html Html5 HTML5 <ul> tag, Example of <ul> tag in html 5

 
 

HTML5 <ul> tag, Example of <ul> tag in html 5
Posted on: September 13, 2010 at 12:00 AM
In this tutorial, We will discuss about <ul> tag in html5.

HTML5 <ul> tag, Example of <ul> tag in html 5

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. 

Declaration Syntax:

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:

Download This Example:

Difference Between html5 and html4.01.

There is no attribute of this tag in html5. "type" and "compact" attribute is not supported by html5.

Related Tags for HTML5 <ul> tag, Example of <ul> tag in html 5:


Ask Questions?

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.