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

In this tutorial, We will discuss about <ul> tag in html5.

 
 

Share on Google+Share on Google+

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

Ads

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.

Advertisements

Posted on: September 13, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles