TAG: BODY TAG AND ITS ATTRIBUTES

HTML, HTML BODY TAG ITS ATTRIBUTES AND ALSO ABOUT HEADING TAG. VARITIES OF HEADIN TAG

 

POINTS TO BE COVERED:
  1. Attributes of body tag.
  2. Heading tag.
  3. Number of heading tag.
  4. H1 to H6.

Attributes of <body> tag:

BGCOLOR - The background of the webpage is displayed with a color that has been taken as value by this attribute.

BACKGROUND - The background of the webpage is displayed with an image whose address is taken as value by this attribute.

TEXT - Specifies the color of the text in the document.

LINK - Defines the color of the link in the document.

ALINK - Defines the color of the active link in the document.

VLINK - Defines the color of the visited link in the document.

1.HEADING TAG:

Heading tag is used to display the heading or the main topic on the webpage. This tag varies from H1 to H6. The heading tag <H1> shows the heading with largest font size. As you increase the number in the heading tag, the font size goes down as shown in the below picture:






Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.