HTML Tags
An HTML tag is written between < and > brackets an act as a container for different types of contents. Each tag has its own specific meaning, and the same applies to the content within it. A web browser reads an HTML document from top to bottom and left to right. Keywords to define the formatting of a web browser are called the HTML tags. They display the content and distinguish them as the HTML content and not any simple content. There are mainly three main parts in any HTML tag. These are; opening tag, content and a closing tag. But some HTML tags are unclosed tags.
Syntax:
<tag> content </tag>
Some of the HTML tags type are listed below:
TYPE | TAGS |
HTML text tags | <b>, <i >, <u>, <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> |
Unclosed HTML Tags | <br> and <hr> |
HTML Meta Tags | DOCTYPE, title, link, meta and style |
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 |
Please Share