Horje
HTML Element

An HTML element is defined by a start tag, some content, and an end tag:

Content goes here...

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

 

My First Heading

 

 

My first paragraph.

 

Start tag Element content End tag

 

My First Heading  

 

My first paragraph.

 

  none none

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


Example of HTML Elements

The HTML element is everything from the start tag to the end tag:
index.html
Example: HTML
 <tagname> Content goes here... </tagname>
<h1>My First Heading</h1>
<p>My first paragraph.</p> 






Related Articles
HTML? HTML Introduction
HTML Code HTML Introduction
HTML Element HTML Introduction
How to view HTML Page in Web Browsers HTML Introduction
How should be HTML Page Structure HTML Introduction
HTML History HTML Introduction

Single Articles
Example of HTML ElementsHTML Introduction

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


Reffered: https://www.w3schools.com/html/html_intro.asp