HTML Elements

An HTML file is made of elements. These elements are responsible for creating web pages and define content in that webpage. An element in HTML usually consist of a start tag <tag name>, close tag </tag name> and content inserted between them. 

The list of the some main elements used in HTML:

Start tag Content End tag Description
<h1> ...... <h6> These are headings of HTML </h1>??..</h6> These elements are used to provide the headings of page.
<p> This is the paragraph </p> This element is used to display a content in form of paragraph.
<div> This is div section </div> This element is used to provide a section in web page.
<br> This element is used to provide a line break. ( void element)
<hr> This element is used to provide a horizontal line. (void element)
Posted on by