Simplified guide of MCQs for Exams, Interviews

Sub Topic: HTML

1 .  < b > tag makes the enclosed text bold. What is other tag to make text bold?

  • A. < strong >
  • B. < dar >
  • C. < black >
  • D. < body >

Correct Answer:

< strong >


2 .  A webpage displays a picture. What tag was used to display that picture?

  • A. picture
  • B. image
  • C. img
  • D. src

Correct Answer:

img


3 .  Tags and test that are not directly displayed on the page are written in _____ section.

  • A. < html >
  • B. < head >
  • C. < title >
  • D. < body >

Correct Answer:

< head >


4 .  Which tag inserts a line horizontally on your web page?

  • A. < hr >
  • B. < line >
  • C. < tr >
  • D. < td >

Correct Answer:

< hr >


5 .  What should be the first tag in any HTML document?

  • A. < html >
  • B. < head >
  • C. < body >
  • D. < document >

Correct Answer:

< html >


6 .  Which tag allows you to add a row in a table?

  • A. < td > and < /td >
  • B. < cr > and < /cr >
  • C. < tr > and < / tr >
  • D. < th > and < / th>

Correct Answer:

< tr > and < / tr >


7 .  How can you make a bulleted list?

  • A. < list >
  • B. < nl >
  • C. < ul >
  • D. < ol >

Correct Answer:

< ul >


8 .  How can you make a numbered list?

  • A. < dl >
  • B. < ol >
  • C. < list >
  • D. < ul >
  • E. < nl >

Correct Answer:

< ol >


9 .  When creating a Web document, what format is used to express an image's height and width?

  • A. Centimeters
  • B. Pixels
  • C. Dots per inch
  • D. Inches

Correct Answer:

Pixels


10 .  If you wanted to create text that was a different color or font than other text in your Web page, what type of tag would you use?

  • A. Layout
  • B. Basic formatting
  • C. Design
  • D. Outline

Correct Answer:

Basic formatting