0% found this document useful (0 votes)
5 views7 pages

HTML Tags Reference Guide

The document provides a comprehensive list of HTML tags along with their purposes and examples. It covers various categories including structural elements, text formatting, lists, tables, forms, multimedia, and SVG graphics. Each tag is described with its function and a sample usage to illustrate its application.

Uploaded by

nikitaluhar27
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)
5 views7 pages

HTML Tags Reference Guide

The document provides a comprehensive list of HTML tags along with their purposes and examples. It covers various categories including structural elements, text formatting, lists, tables, forms, multimedia, and SVG graphics. Each tag is described with its function and a sample usage to illustrate its application.

Uploaded by

nikitaluhar27
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

NO Tag Name Parpose Example

1 <html></html>

2 <head></head> heading in html <head>INTRODUTION</h


ead>

3 <title></title> Name of tab <title>My first page</title>

4 <h1></h1>to Highest to <h1> Main Heading</h1>


<h6></h6> smallest <h6> smallest size of
heading word</h6>

5 <body></body> main content <body>


main content​

​ ​ </body>

6 <p></p> paragraph <p>Here is a first


paragraph of text.</p>

7 </br> line Break You delivered your


​ assignment ontime.<br />

8 <b></b> Bold the <b>I am Nikky malvi</b>


element

9 <i></i> Italic the <i>I am Nikky malvi</i>


element

10 <u></u> Underline the <u>I am Nikky malvi</u>


element
11 <strike></strike>
12 <tt></tt>-Mpnospaced
13 <hr></hr> Drawing <HR align=“left”
horizontal line width=“10” size= “4” />
14 <sup></sup>-Superscri displayed half a 10<sup>2</sup> = 100
pt character's
height above 10² = 100
the
other
characters

15 <sub></sub>-subscript displayed half a H<sub>2</sub>O


character's
height beneath H₂O
the other
characters

16 <ins>...</ins>-Inserted Add the any <p>This is <ins>newly


Text element inserted</ins> text in the
paragraph.</p>

17 <del>...</del>-Deleted Delete the any <p>This is


Text element <del>old</del></p>

18 <big>...</big>-Larger one font size <big>larger</big>


Text larger than the
rest of the text
surrounding

19 one font size <small>small</small>


<small>...</small>-Sm smaller than the
aller Text rest of the text
surrounding
20 Grouping Content
<div></div>
<span></span>
21 <center></center> center <center>This text is
everything centered using the
found tag.</center>
between them

22 <SPACER>-Spacing
23 Nonbreaking
Spaces
24 Horizontal Lines

LISTS TAGS LISTS TAGS LISTS TAGS


26 <ul> – unordered list list items using <ul>
plain bullets <li>Apples</li>
<li>Bananas</li>
<li>Oranges</li>
</ul>

27 <ol>- ordered list use different <ol>


schemes of <li>First</li>
numbers <li>Second</li>
to list your </ol>
items

28 <dl>-
29 <dt>
30 <dd>
31 </dl>
32 <img> src - Specifies <img
the path to the src="[Link]"
image alt="Cookies"
width="100"/>
alt - Specifies
an alternate text
for the image, if
the image for
some reason
cannot be
displayed

33 <a href></a> specifies the <a


URL of the href="[Link]
page the link [Link]/chewy-choco
goes to
late-chip-cookies/"> Click
here to see more
​ </a>

table table table

34 <table></table> To create a <table>.......</table>


table
35 <tr></tr> - table row To create a <tr>.....<tr>
table row
36 <td></td>-table data To add data in <td>Name</td>
table

37 <th></th>-table To add heading <th>marksheet table</th>


in table
heading

38 -Rowspan

39 -colspan

FORM FORM FORM


40 <FORM></FORM> TO CREATE A <form>......</form>
FORM
41 <input> Defines an
input control
42 <textarea> Defines a <input type="text">
multi-line text
input control
43 <button> Defines a <button
clickable button type="submit">Submit</bu
tton>
44 <select> Defines a <select><option>One</opt
drop-down list ion></select>
45 <option> Defines an <option value="1">Option
option in a 1</option>
drop-down lis
46 <label> Defines a label <label
for an <input> for="name">Name:</label
element >
47 <input type="text"> Single-line text <input type="text"
input name="Enter name">
48 <input Password field <input type="password">
(characters are
type="password">
hidden)
49 <input Field for email <input type="email">
input Email input field
type="email">

50 <input Field for <input type="number">


numeric input
type="number">

51 <input type="tel"> Field for <input type="tel">


telephone
number input
52 <input Checkbox input <input type="checkbox"> I
agree
type="checkbox">

53 <input Radio button <input type="radio"


input name="gender"> Male
type="radio">
54 <input Submit button <input type="submit"
value="Send">
type="submit">

55 <input Color picker <input type="color">


type="color">

56 Required attributes the field is to be <input type="text"


considered name="name" required>
mandatory.

57 min, max and step <input type="number"


id=“age" min="0"
attributes
max="100" step="1" />
58 maxlength attribute you want to limit <input type="text"
the length of id="filename"
information that maxlength="12" />
the user can
provide.
59 <audio> Audio player <audio controls><source
src="song.mp3"></audio>

60 <video> Video player <video controls><source


src="video.mp4"></video>

SVG TAGS SVG TAGS SVG TAGS


61 <circle> Draws a Circle <circle cx="x" cy="y"
r="radius" fill="color" />

62 <rect> Draws a <rect x="x" y="y"


Rectangle width="w" height="h"
fill="color" />

63 <line> Draws a Line <line x1="startX"


y1="startY" x2="endX"
y2="endY" stroke="color"
stroke-width="value" />

64 <ellipse> Draws an Ellipse <ellipse cx="x" cy="y"


rx="x-radius" ry="y-radius"
fill="color" />

65 <polygon> Draws a Polygon <polygon points="x1,y1


x2,y2 x3,y3 ..." fill="color"
/>

You might also like