0% found this document useful (0 votes)
16 views5 pages

HTML Tag List and Its Attributes

The document provides a comprehensive overview of HTML tags and their attributes, including basic tags like headings, paragraphs, hyperlinks, images, and lists. It also covers HTML5 tags, form input types, and SVG elements, detailing their usage and attributes. Additionally, character entities and formatting tags are included to enhance text presentation within HTML documents.

Uploaded by

Rajdeepzala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views5 pages

HTML Tag List and Its Attributes

The document provides a comprehensive overview of HTML tags and their attributes, including basic tags like headings, paragraphs, hyperlinks, images, and lists. It also covers HTML5 tags, form input types, and SVG elements, detailing their usage and attributes. Additionally, character entities and formatting tags are included to enhance text presentation within HTML documents.

Uploaded by

Rajdeepzala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Html tag list and its attributes

Html structure
<html>
<head>
<title>….</title>
</head>
<body>
<!--comment-->
</body>
</html>
Html basic tag
Heading tag
Tags Description
<h1>..</h1> Apply for heading
<h2>..</h2> Max -<h1>
<h3>..</h3> Min -<h6>
<h4>..</h4>
<h5>..</h5>
<h6>..</h6>

Paragraph tag
Tags Attribute Description
<p>..</p> title Its used for paragraph. When cursor is move
on paragraph title is display
<pre>…</pre> It is used for pre-define format.

Hyperlink tag
Tags Attribute Description
<a>…</a> href It used for to create a
Target(_blank,,_self,_parent,_top) hyperlink to redirect another
page.

Image tag
Tags Attribute Description
<img> Src, Height, Width, Alt It used for to display an image
Button tag
Tags Attribute Description
<button>..<button> It used for to make a button

List tag
Tags Attribute Description
<ol> Type(1,I,I,A,a) It is used for order list.
<li>…</li> start
</ol>
<ul> Type(disc,square,circle) It is used for unorder list
<li>…</li>
</ul>

Line tag
Tags Attribute Description
<hr> Size,color,width It is used for horizontal line
<fieldset> align It is used for border line with heading
<legend></legend>
</fieldset>

Break line
Tags Attribute Description
<br> It used for break line

Text formatting text


Tags Attribute Description
<b></b> It used for bold text
<u></u> It used for underline
<strong></strong> Important text
<i></i> Italic text
<mark></mark> Marked text
<small></small> Small text
<big></big> Big text
<del></del> Deleted text
<ins></ins> Inserted text
<Sub></sub> Subscript text
<sup></sup> Superscript text
<strike></strike> Strike text
or <s></s>
Qutotation tag
Tags Attribute Description
<q></q> Define a short inline quotation

Table tag
Tags Attribute Description
<table> Border, height,width, It used for draw table
<tr> bgcolor,Colspan, <tr> denote no of row
<td></td> rowspan <td> denote no of coloms
</tr>
</table>

Block tag
Tags Attribute Description
<div></div> Id ,class,All css Its used for define block of space
<span></span> All css Its used for define block of space

Font tag
Tags Attribute Description
<font></font> Color, size, style, face Its used for define font format

Auto scroll tag


Tags Attribute Description
<marquee></marquee> Direction, Its used for define font format
loop,
scrollamount

Webpage within webpage


Tags Attribute Description
<iframe></iframe> Height, width, src Its used for display page within page

Character entities
Tags Description
&nbsp; Non breaking space
&lt; Display less than sign(<)
&gt; Display greater than sign(>)
&amp; Display ampersand sign (&)
&quot; Display quotation mark(“)
&apos; Display single quotation mark(‘)
&cent; Display cent
&pound; Display pound
&yen; Display yen
&euro; Display euro
&copy; Display copyright
&reg; Display registered treadmark

Form input tag


Input type Tags Attribute Description
<form></form> Name, method, action, To make a form
target
text Name, placeholder, It used for display textbox
autofocus
password Name It used for display password
box
radio Name It used for display radio button
checkbox name It used for display checkbox
<textarea></textarea> Cols,rows,name It used for display address box
file name It used for browse any file.
submit Name , value It used for make submit button
reset Name, value It used for make cancel button

Html5 tags
Tags Attribute Description
<header> Define header
<footer> Define footer
<article> Define article
<nav> Group of navigation link
<aside> Define side bar
<time> Define date and time
<svg> Height, width,fill Used for scalable vector graphics
<canvas>
<datalist> Same as selection list
<section> Define section
<audio> Height, width, Display audio file
<source> Src, controls
<video> Height, width, Display video file
<source> Src, controls
<embed> Src, height, Display multymedia
width
<object> height,width,data used to embed plug-ins in web page

Html5 input tags


Tags Description
color Used for display color box
date Used for date picker
datetime Date picker with time
Datetime-local Date picker with local-time
email Used for email box
month Used for only month selection
number Used for only number input box
range Used for specify range
search Used for search box
tel Used for telephone no input box(not support)
time Used for time choose
url Used for url input
week Used for week selection

<svg> tag
Tags Attribute Description
<circle> x-axis, y-axis, radius, stroke, stroke- Draw circle
width, fill
<rect> Height, width, stroke, stroke-width, fill Draw rectangle
<polygon> Points, stroke, stroke-width, fill Draw polygon
<polyline> points,stroke, stroke-width,fill draw polyline

You might also like