Working time:Monday - Saturday: 07 AM - 06 PM

Find us:Sonda East, Deoria, UP, India

HTML elements

HTML element is an individual component of an HTML document of an HTML document or a web page. HTML is composed of a tree of elements and other nodes such as text nodes. Each element can have HTML attributes specified. Elements can also have content, including other elements and text.

HTML elements has two categories:

1. Container Element: Container Elements can hold one or more Elements, positioned horizontally or vertically,to provide sophisticated control over the layout and rendering. This type of HTML elements require pair tags, starting tag and closing tag.

2. Empty Element: HTML elements with no content are called empty elements. br is an empty element without closing tag used to give a line break. HTML5 does not require empty elements to be closed. But to make your document readable by XML parsers we should close all HTML elements.

HTML Anchor tag