PRACTICE QUESTIONS-H1.

1.Which is the first version of HTML?

  1. HTML 1.0
  2. HTML 5
  3. HTML 2.0
  4. HTML 3.0

Ans. 1. HTML 1.0 

  1. Which HTML tag is used to insert title in an HTML document?

 

  1. <TITLE>
  2. <HEAD>
  3. <BODY>
  4. <HTML>

Ans. 1. <TITLE>

  1. Which types of tags are used in HTML?

 

  1. Predefined tags
  2. User-defined tags
  3. Tags used only for linking
  4. Language-specific tags

Ans. 1. Predefined tags

  1. The default size of the horizontal rule is _____.

 

  1. 5 pixels
  2. 4 pixels
  3. 3 pixels
  4. 2 pixels

Ans. 3. 3 pixels

  1. Font face attribute is used for______.

 

  1. Changing the font type of the text
  2. Changing the font color of the text
  3. Changing the font size of the text
  4. None of these

Ans. 1. Changing the font type of the text

  1. Which tag is used for line break?

 

  1. <HR>
  2. <BR>
  3. <P>
  4. <EM>

Ans. 2. <BR>

  1. Which tag is used to apply the background color?

 

  1. BACKGROUND
  2. COLOR
  3. BGCOLOR
  4. BCOLOR

Ans. 3. BGCOLOR

  1. Which HTML tag is used to underline the text?

 

  1. <I>
  2. <B>
  3. <C>
  4. <U>

Ans. 4. <U> 

  1. HTML tags are placed between ____ .

 

  1. Hard brackets
  2. Angular brackets
  3. Curly brackets
  4. None of these

Ans. 2. Angular brackets

  1. HTML tags can be written in ____ .

  

  1. Capital letters
  2. Small letters
  3. Both capital and small letters
  4. None of these

Ans. 3. Both capital and small letters

  1. Which value is used for white color?

 

  1. #00FFFF
  2. #000000
  3. #FFFFFF
  4. #FFFF00

Ans. 3. #FFFFFF

 

  1. Which is not a logical text style?

 

  1. <DFN>
  2. <EM>
  3. <I>
  4. <CITE>

Ans. 3. <I>

 

  1. Empty tags require:

 

  1. Opening tag
  2. Closing tag
  3. Both opening and closing tags
  4. None of these

Ans. 1. Opening tag

  1. Which HTML tag is used to insert a horizontal rule?

 

  1. <HR>
  2. <BR>
  3. <P>
  4. <EM>

Ans. 1. <HR>

 

  1. Which one is the correct syntax of the HTML tag?

 

  1. <PARA>HTML</PARA>
  2. <b>HTML<b>
  3. <P>HTML</P>
  4. None of these

Ans. 3. <P>HTML</P>

 

  1. The <BASEFONT> tag is supported by ____ .

 

  1. Internet Explorer
  2. Mozilla
  3. Opera
  4. All of these

Ans. 1. Internet Explorer

 

  1. The headings can be differentiated on the basis of their____ and ____.

 

  1. Typeface, space
  2. Font type, size
  3. Font size, alignment
  4. Space between the headings, alignment

Ans. 1. Typeface, space

 

  1. When you want to provide breaks in the text or want the text to appear as a new, separate line, you need to use the tag.

 

  1. <BR>
  2. <P>
  3. <HR>
  4. <BODY>

Ans. 1. <BR>

 

  1. A ____ is a code that is put into the HTML code of a Web page to hide the text in a Web page.

 

  1. ALIGN attribute
  2. Comment
  3. Content
  4. None of these

Ans. 4. None of these

 

  1. Which among the following will create a bulleted list?

 

  1. Unordered
  2. Option
  3. Decorated
  4. Ordered

Ans. 1.Unordered

 

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: