Skip to main content

HTML TAGS

 HTML 

Html stands for HyperText Markup Language.

The First version HTML was written by Tim Berners Lee in 1993.

HTML TAGS:-

HTML tags tells a web browser how to format text. You can use tags to format italics, line breaks, objects, bullet points, and more. 

Some important HTML tags are as follows:-


Paragraph Tag:-

When we want to give headings in our html document text then we use heading tag.

There are six levels of heading tags in html.These are:-

Syntax:-

<p>.........<\p>

To write a paragraph in html document we use paragraph tag. It is a paired tag which means it contains both opening and closing tags.

We can write our text inside <p>...</p> tag.


Heading Tag:-

To write a heading in our HTML document we use heading tag of html.The syntax of which is described below:-


Syntax:- 

There are 6 levels of heading in html document i.e.

<h1>.........<\h1>

<h2>.........<\h2>

<h3>.........<\h3>

<h4>.........<\h4>

<h5>.........<\h5>

<h6>.........<\h6>

Break Tag:-


Break tag is a single line break tag.It is used to break a line.

Syntax:-

<br>

It is a singular tag means it does not have closing tag.

Bold Tag:-

The bold tag is used to write a text in bold style.The syntax for bold tag in HTML is given below:-

Syntax:-

<b>......</b>

The bold tag is a paired tag which means it contains both opening and closing tags.

Italic:-

To write a text in italic style in HTML document. The italic tag is used the syntax of which is described as follows:- 

Syntax:-

<i>......<\i>

This is also a paired tag.

Underline Tag:-

To underline the text we use underline tag.

The syntax of underline tag is:-

Syntax:-

<u>....<\u>


This tag also contains both opening and closing tags.


Hence these are some of the basic tags used in HTML document.






Comments