HTML MCQs with answers Page - 12

Here, you will find a collection of MCQ questions on HTML. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 832.01K Points
Coach

Q. Which of the following tags are related to Table in HTML ?

  • (A) <table> <row> <column>
  • (B) <table> <tr> <td>
  • (C) <table> <head> <body>
  • (D) <table> <header> <footer>

A

Admin • 832.01K Points
Coach

Q. Which of the following is correct HTML for inserting an image?

  • (A) <image source= “www.mcqbuddy.com/admin.jpg” alt= “This is me” />
  • (B) <img src= “www.mcqbuddy.com/admin.jpg” alt= “This is me” />
  • (C) <img source= “www.mcqbuddy.com/admin.jpg” alt= “This is me” />
  • (D) <img alt= “This is me”>www.mcqbuddy.com/admin.jpg</img>

A

Admin • 832.01K Points
Coach

Q. Choose the correct HTML tag to left-align the content of a cell.

  • (A) <tdleft>
  • (B) <td leftalign>
  • (C) <td valign= “left”>
  • (D) <td align= “left”>

A

Admin • 832.01K Points
Coach

Q. Which tag is used to lists the items with bullets?

  • (A) <bullet>…</bullet>
  • (B) <list>…</list>
  • (C) <ul>…</ul>
  • (D) <ol>…</ol>

A

Admin • 832.01K Points
Coach

Q. Is it possible to insert a table within another table?

  • (A) Yes, but there must be exactly 2 rows and 2 columns in first table.
  • (B) Yes, table can be inserted into cell of another table.
  • (C) Yes, but there must be no border in second table.
  • (D) No, it’s not possible.

A

Admin • 832.01K Points
Coach

Q. What is the usage of alt value in <img> tag?

  • (A) Alternative text for an Image
  • (B) Alternative source of an Image
  • (C) Caption of an Image
  • (D) All of above

A

Admin • 832.01K Points
Coach

Q. Which of the following is the correct regarding meta tag in HTML?

  • (A) <meta> … </meta>
  • (B) <meta name = " " />
  • (C) <metadata> … </metadata>
  • (D) <metadata name = " " />

A

Admin • 832.01K Points
Coach

Q. Which of the following is correct to set "Black" color as Background of page?

  • (A) <body bgcolor = "#000000">
  • (B) <body background = "#000000">
  • (C) <body Background color = "#000000">
  • (D) All of Above

A

Admin • 832.01K Points
Coach

Q. Which of the following is correct to change font face in Web Page

  • (A) <font = "font name"> … </font>
  • (B) <font name = "font name"> … </font>
  • (C) <font face = "font name"> … </font>
  • (D) Font Face cannot change

A

Admin • 832.01K Points
Coach

Q. Which of the following is incorrect regarding Logical styles?

  • (A) Code looks like teletype
  • (B) Sample looks like teletype
  • (C) Keyboard looks like teletype
  • (D) Variable looks like teletype

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ