Simplified guide of MCQs for Exams, Interviews

Sub Topic: HTML

1 .  Choose the correct HTML tag to make a text italic

  • A. < li >
  • B. < i >
  • C. < italic >

Correct Answer:

< i >


2 .  Choose the correct HTML tag to make a text bold?

  • A. < b >
  • B. < bold >
  • C. < bb >

Correct Answer:

< b >


3 .  What is the correct HTML for adding a background color?

  • A. < body color="yellow" >
  • B. < body bgcolor="yellow" >
  • C. < background >yellow</ background >

Correct Answer:

< body bgcolor="yellow" >


4 .  What does vlink attribute mean?

  • A. visited link
  • B. virtual link
  • C. very good link
  • D. active link

Correct Answer:

visited link


5 .  Which attribute is used to name an element uniquely?

  • A. class
  • B. id
  • C. dot
  • D. all

Correct Answer:

id


6 .  Which tag creates a check box for a form in HTML?

  • A. < checkbox >
  • B. < input type="checkbox" >
  • C. < input=checkbox >
  • D. < input checkbox >

Correct Answer:

< input type="checkbox" >