Horje
HTML Elements

An HTML element is a type of HTML document component, one of several types of HTML nodes. The first used version of HTML was written by Tim Berners-Lee in 1993 and there have since been many versions of HTML. The most commonly used version is HTML 4.01, which became official standard in December 1999.

The HTML element is everything from the start tag to the end tag:

<tagname>Content goes here...</tagname>

Examples of some HTML elements:

<h1>My First Heading</h1>

<p>My first paragraph.</p>

Start tag Element content End tag
<h1> My First Heading </h1>
<p> My first paragraph. </p>
<br> none none

Note: Some HTML elements have no content (like the <br> element). These elements are called empty elements. Empty elements do not have an end tag!


Example of HTML Elements

Examples of some HTML elements:

index.html
Example: HTML
<p>
Welcome to Horje</p>
<h1>
Welcome to Horje</h1>

Output should be:

Example of HTML Elements





Category:
Web Tutorial
Sub Category:
HTML Elements
Uploaded by:
Admin


Read Article
https://horje.com/learn/1434/reference