HTML tags are like keywords which defines that how web browser will format and display the content.
Html tags contains three main parts:
- opening bracket,
- content,
- closing bracket.
HTML tags are used to create HTML documents and render their properties.
Each HTML tags has different properties.
All HTML tags must be enclosed within < > these brackets.
Syntax: <tag> Content </tag>
<!DOCTYPE>
<html>
<body>
<p> Paragraph Tag </p>
<h2> Heading Tag </h2>
<b> Bold Tag </b>
<i> Italic Tag </i>
<u> Underline Tag</u>
</body>
</html>
Output:
Paragraph Tag
Heading Tag
Bold Tag Italic Tag Underline Tag
Html Unclosed Tags: <hr> and <br>
Html Meta Tags: DOCTYPE, title, link, meta and style
Html Text Tags: <p>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <strong>, <em>, <abbr>, <acronym>, <address>,
Html Link Tags: <a> and <base>
Html Image Tags: <img>, <area>, <map>, <param> and <object>
Html Form Tags: form, input, textarea, select, option, optgroup, button, label, fieldset and legend
Html Table Tags: table, tr, td, th, tbody, thead, tfoot, col, colgroup and caption
1 Comments
Nice 👍
ReplyDelete