Html Tutorial

HTML-Elements

HTML elements

An HTML elements starts with a starting tag and ends with closing tags.

Example

Start tagContentClose tag
<h1>content inside heading tags</h1>
<p>content inside paragraph tags</p>
<hr>--

Some HTML elements do not have closing tags. These elements are called as empty/void elements. like <hr>,<br>.

Advertisment

Share


Advertisement