HTML Tags
Tag Define करता है कि हमारा Web Page कैसा दिखेगा, उस पर लिखा जाने वाला Content कैसा दिखेगा. Tag को दो भागों में बांटा गया है – Start Tag (Opening Tag) और Close Tag (Closing Tag).
- Opening Tags को Angle Brackets < > में लिखा जाता है.
- HTML में सभी Tags का एक अलग काम होता है.
- Closing Tag को </……> लिखा जाता है.
Syntax –
<Opening Tag> Content </Closing Tag>
<p> Arora Computer </p>
Unclosed HTML Tag
इसमें html का Closing Tag नहीं होता जैसे <br>, <hr>
HTML Text Tags
<p>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <strong>, <em>, <abbr>, <acronym>, <address>, <bdo>, <blockquote>, <cite>, <q>, <code>, <ins>, <del>, <dfn>, <kbd>, <pre>, <samp>, <var> and <br>
HTML Link Tags
<a> and <base>
HTML Image and Object Tags
<img>, <area>, <map>, <param> and <object>
HTML List Tags
<ul>, <ol>, <li>, <dl>, <dt> and <dd>
HTML Table Tags
table, tr, td, th, tbody, thead, tfoot, col, colgroup and caption
HTML Form Tags
form, input, textarea, select, option, optgroup, button, label, fieldset and legend
HTML Scripting Tags
script and noscript