What is HTML?

HTML stands for Hyper Text Markup Language

HTML describes the formation of a Web page

HTML elements are represented by tags

HTML elements advise the browser how to display the content

Browsers do not show the HTML tags, but use them to deliver the content of the page

HTML Tags

HTML tags are element names enclosed by angle brackets:

Example:

tag

 

HTML tags generally come in pair
The first tag in a pair is the start tag, the second tag is the end tag
The end tag is written like the start tag, but with a forward slash inserted before the tag name

Web Browsers

The intention of a browser (Chrome, Edge, Firefox, Safari) is to read HTML documents and display them.

Browsers do not show the HTML tags, but use them to deliver the content of the page

notepad

 

How to save the HTML Page

Open Text Editer (Notepad, Notepad++, Sublime)
Write Some HTML
Save the HTML Page
Name the file "index.html"

 

save html

 

View the HTML Page in Your Browser
Open the saved HTML file in your favorite browser 

 

 

HTML comment Tag

Output

This is a sample Code.

HTML document type Tag

Output

The content of the webpage......

 

HTML Anchor tag

HTML abbr tag

Output

The WHO was founded in 1948.

HTML head Tag

Output

The content of the webpage......

HTML header Tag

Output

Most important heading here

Less important heading here

Some additional information here.

Lorem Ipsum dolor set amet....

HTML html Tag

Output

The content of the document......

Leave a Reply

Leave a Reply