Ul Tag in HTML5

In this article I am going to describe about the use of Ul Tag in HTML5
  • 2005

Ul Tag

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. 

Browser Support

It is supported in all major browsers.


<ul> tag has no attribute in html5. "type" and "compact" attribute is not supported by html5.


Syntax of <ul> tag is


Example of <ul> tag in HTML5

<!DOCTYPE html>


<html lang="en" xmlns="http://www.w3.org/1999/xhtml">


    <meta charset="utf-8" />

    <title>Ul Tag in HTML5</title>



    <h1>Implementation of &lt;ul&gt; tag in HTML5</h1>

    <h4>Indian Cricket Team:</h4>


        <li>Sachin Tendulkar</li>

        <li>Sorav Ganguly</li>

        <li>VVS Laxman</li>

        <li>Rahul Dravid</li>






© 2020 DotNetHeaven. All rights reserved.