Introduction to HTML

HTML stands for Hyper Text Markup Language. It is a markup language. HTML is the body of the website.

Markup languages are XML (Extensible Markup Language) and GML (Generalised Markup Language).

HTML Heading Tag:

There are six headings available in HTML. <h1> to <h6>. These tags have a closing tag. <h1> is the largest among all and <h6> is smallest among all.

The source code of HTML tags is mentioned below, so you can copy it and check by yourself in code editor:

<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>

Image example below

Example:

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLYNJV-TJVNAcRFxRf-yOJIDaUSvjVmNojs8NNuD5FPzL7WA6WjvfcK7exQUd6DZKSogfJ7IjTtyIVviJPA3nxSBg7JGjs6NVhySeLD8NXG0VPeG0q9-VIaaBV3ckhbcVfalqL8qpoWzU/s1600/heading+1+to+6.jpg


<br> tag:

<br> stand for break line. This tag does not have a closing tag. It is used to break the line.

Example of <br> tag is given below:

My name is junaid. I read in class 10 and i’m <br> 15 years old.  

Output:

My name is junaid. I read in class 10 and i’m

15 years old.


There are many tags in HTML, you can see all tag’s detail link given below:

https://www.w3schools.com/TAgs/default.asp

This link takes you to the W3school where you can see the details of all tags. If you don’t understand, you can copy the tag and paste it into the Google or Youtube.

Comments

Post a Comment

Popular Posts