Chapter 11. More on HTML

















Exercises

E. Answer the following questions.

1.       1. What is the use of heading tags? How many heading levels are there?

Ans: Heading level displays text by using a different font size. There are 6 levels of heading <H1> to <H6>

 

2.      2.  Explain the use of <FONT> tag in designing a web page.

Ans: The <FONT> tag lets you change the size, color and style of a text segment. It is used for changing the appearance of the text.

 

3.     3.   Explain the use of <b>, <i> and <u> tags with the help of an example.

Ans: The <B> tag is used to make a text bold. Eg. <b> This text is bold </b>

The <i> tag is used to tilt the text. Eg. <i> This text is italic </i>

The <u> tag is used to insert a line below the text. Eg. <u> This text is underlined </u>

 

4.      4.  Explain the use of the different attributes of <BODY> tag.

Ans: The <BODY> tag defines all the contents of a web page. The <body> tag includes:

(i)                  Background: This attribute allows us to insert an image as a background in the html document. Eg. <body background=”Filename.gif”>

(ii)                Bgcolor (background color): Bgcolor is an attribute, used to specify the background color of the web page. Eg. <body bgcolor =”FF0000”>

(iii)               Text: The text attribute is used to specify the color of the text that appears within the web page. Eg. <body text=”purple”>

 

5.       5. Explain the difference between <sub> and <sup> tags with the help of an example.

Ans: The <sub> tag is used to display the text as subscript.  The subscript text will appear half a character height beneath the other characters. Eg. A2 à A<sub>2</sub>

The <sup> tag is used to display the text as superscript. The superscript text will appear half a character height above the other character. Eg. A2 à A<sup>2</sup>

 

6.      6.  Write the use of <BASEFONT> tag.

Ans: The <BASEFONT> tag lets you define the basic size, color and face for the font. This tag is used only once in the whole document.



  

Comments

  1. Sir please send objective type questions of lesson 11 more on HTML

    ReplyDelete
  2. Sir pls send all answer's on this lesson

    ReplyDelete
  3. Opopopoppppppppbhuseueudhdjfhdhrrhrufhffudhfufufyyturhrhfurhryfhdydyehsteheyssudyfyyyyd

    ReplyDelete
  4. Umm...sir?..where are the objective type question's answer??.....

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. HI SANJU I AM MALHAR PATIL .....
      I HATE BTS SOO MUCH. BUT I LOVE YOU

      Delete
    3. DO YOU LOVE ME ???
      PLEASE REPLY ME .......

      Delete
    4. Hi sanju
      I am Rudraksh Gaikwad
      I hate bts but I really love you from my heart

      Do you love me ?
      Please please reply me

      Delete
    5. Who are you writing my name

      Delete
    6. i am malhar patil
      who are you

      Delete
    7. 👁️👄👁️ what's going on

      Delete
  5. This comment has been removed by the author.

    ReplyDelete
  6. https://www.wisdommaterials.com
    https://globalcompaniesinfo.com/
    https://wisdomallcodes.com/

    ReplyDelete
  7. Can u send objective type questions?

    ReplyDelete

Post a Comment

Popular Posts