You are on page 1of 2

LISTS IN HTML Introduction to HTML

Type of Lists in HTML

Sl No. Tag Full Form Attribute Attribute Values Default Value Description/Purpose Syntax Type of Tag
1 <li> List Item NA used to define the data item in the list <li>……….</li> Container

2 <ol> Ordered List used for creating ordered list <ol>……..</ol> Container

Start Numerical Value 1 used to specify the start of the Ordered List
Type 1, A, a, i, I 1 used to specify the style of the ordered list

3 <ul> Unordered List used for creating an unordered list


Type square, circle. Disc disc used to set the style of an unordered list <ul>………</ul> Container

4 <dl> Definition List used to specify a Definition List Conatiner

<dl>
5 <dt> Definition Term used to define the Definition Term Container
<dt>.......</dt>
NA
<dd>........................</dd>
</dl>
<dd> Container
Definition List
6 used to define the definition of the defined term
Description

1 Prepared by SATYAM JHAWAR ; Updated on 11th November, 2020


IMAGES IN HTML Introduction to HTML

Using Images in HTML

Sl No. Tag Full Form Attribute Attribute Values Default Value Description/Purpose Syntax Type of Tag
Empty
<img> Image Tag is used to define an image in the web page <img>
1
Source SRC specifies the URL(web address) of the image <img src="URL">

Alternate Text ALT used to furnish an alternate text for an image <img src="URL" ALT="Text">

it is used to indicate how the browser should align


Align Bottom, Top, Left, Middle, Right Left <img src="URL" Align="Alignment Value">
the image with the adjacent text

Width in pixels or percentage used to specify an image width <img src="URL" Width="Pixels">

Height in pixels or percentage used to specify an image height <img src="URL" Height="Pixels">

2
Prepared by SATYAM JHAWAR ; Updated on 11th November, 2020

You might also like