CodesJava

Easy learning with example program codes

Tags in HTML

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:

TYPETAGS
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 TagsDOCTYPE, 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 Tagstable, tr, td, th, tbody, thead, tfoot, col, colgroup and caption
HTML Form Tagsform, input, textarea, select, option, optgroup, button, label, fieldset and legend
HTML Scripting Tagsscript and noscript

 

 

Please follow and like us:
error
Posted in HTML   









Copyright © 2019 CodesJava DMCA.com Protection Status