An HTML element starts with open tag and ends with a closing tag, where the element name is preceded by a forward slash. Some HTML elements do not have an end tag.

Here is some HTML element example <p>….</p>, <h1>…</h1>, start with open tag and close with closing tag. Some HTML elements which don’t need to be closing tag, such as <img…/>, <hr /> and <br /> elements.


<!DOCTYPE html>



<title>HTML Elements</title>



<h1>This is heading with open and closing tags</h1>

<p>This is paragraph with open and closing tags </p>

<br> This is line break tag which don’t need to be closing tag




Related Article

Latest Article


HTML Character Sets

ASCII was the first character set. It describes 127 different alphanumeric characters that can be used on the internet.


HTML Event Attributes

The following event attributes could be added to all HTML elements where applicable. The event attributes are used for specifying the characteristics of an element



HTML Tag are used for making front end part which is visible for visitors. HTML Tag are ,