+91-7906818313 / +91-7500893874 Monday - Sunday 10:00am - 06:00pm

HTML Tags | Some Important HTML Tags

                                                HTML TAGS

HTML Tags: Some HTML tags are given below:

<TITLE> Tag:

  • It is written in <HEAD> tag.
  • The <TITLE> tag defines the title of the document or webpage.
  • It defines a title in the browser toolbar.
  • It provides a title for the page when it is added to favorites.
  • It displays a title for the page in search engine results.

Example:

<HTML>

<HEAD>

<TITLE> THIS IS MY FIRST HTML DOCUMENT</TITLE>

</HEAD>

</HTML>

 

Heading Tags <H1> TO <H6>:

  • We have six heading tags according to their uses.
  • <H1>, <H2>, <H3>, <H4>, <H5>, <H6>
  • <H1> defines the most important heading.
  • <H6> defines the last important heading.
  • Search engines use your headings to index the structure and content of your web pages.

Example:

<HTML>

<HEAD>

<TITLE>Heading</TITLE>

</HEAD>

<BODY>

<H1> Heading by H1 tag </H1>

<H2> Heading by H2 tag </H2>

<H3> Heading by H3 tag </H3>

<H4> Heading by H4 tag </H4>

<H5> Heading by H5 tag </H5>

<H6> Heading by H6 tag </H6>

</BODY>

</HTML>

html-tags

Paragraph Tag <P>:

  • Paragraphs are defined with the <P> tag.
  • Browsers automatically add an empty line before and after a paragraph.

Example:

<HTML>

<HEAD>

<TITLE>Paragraph</TITLE>

</HEAD>

<BODY>

<P>

This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.This is a paragraph.

</P>

</BODY>

</HTML>

paragraph

Formatting Tags:

  • We have two formatting tags.
  • Both are empty elements.
  • <BR/> tag is used for break line.
  • <HR/> tag is used for horizontal line.

Example:

<HTML>

<HEAD>

<TITLE>Formatting</TITLE>

</HEAD>

<BODY>

Use of br tag.Use of br tag.Use of br tag.Use of br tag.Use of br tag.Use of br tag.Use of br tag.Use of br tag.Use of br tag.<BR/>

Use of HR tag. Use of HR tag. Use of HR tag. Use of HR tag. Use of HR tag. Use of HR tag. Use of HR tag. Use of HR tag. Use of HR tag. <HR/>

</BODY>

</HTML>

html-format

This Post Has 2 Comments

  1. The product is good but the top most buttons, the F Keys, don’t have proper feedback. (they don’t bounce back immediately & some lag is there in almost all keys which is not acceptable ) But the keyboard is small and compact which makes it highly portable..the mouse is fine for me. fits the grip proper.. Otherwise the product is fine.. more details after some usage..

  2. Thank you for sharing the valuable information,keep sharing the updates.thank you.

Leave a Reply

Close Menu
Translate »