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
Advertisement
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.

Advertisement

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


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: September 13, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com