starting tag
and the ending tag
.The content should be written in between the tags. Following are some of the elements in HTML5
Syntax
[html]<tagname>Content</tagname>[/html]
Tag | Description |
---|---|
<head> | head tag contains general information of the document. |
<title> | Which contains title of the document. |
<meta> | meta tag contains the meta information. Which is not displayed on the web browser. |
<base> | base tag contains the base URL for all relative links in a document. |
<address> | address tag contains corresponding address of the element. |
<article> | The article element contains an independent piece of document like blog entry or news paper article. |
<header> | header contains set of navigational links. |
<nav> | nav tag means Navigation tag which is used to go to the next page or skip over the page. |
<section> | section tag defines section of the document, such as header,footer or any other sections which is placed inside the body. |
<p> | paragraph tag is used to add the content to a web page in a paragraph manner. and with p element browser add some spaces and margins automatically. |
<main> | main tag is used to represents main text of the document. |
<div> | div tag defines a section of elements in a html document. |
<link> | link tag will used create the relationship between current document and external source. |
<li> | li defines list of items which contain ordered list and unordered list. |
<footer> | footer tag contains the footer section which contain copy rights information or author information etc. |
<dl> | dl tag defines definiton list tag. |
<hr> | hr tag defines Horizontal rules. |
<sub> | sub tag defines subscript text. |