• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

HTML Course | Practice Quiz 1

Question 11

What is the purpose of using div tags in HTML?

  • For creating Different styles.

  • For creating different sections.

  • For adding headings.

  • For adding titles.

Question 12

Which of the following tags is used to make a portion of text italic in HTML?

  • <italic>

  • <style= “i”>

  • <i>

  • <style=“italic”>

Question 13

Which of the following tags is used to add a line-break in HTML?

  • <br>

  • <break>

  • </break>

  • </br>

Question 14

Which of the following attributes is used to open an hyperlink in new tab?

  • tab

  • href

  • target

  • ref

Question 15

Which of the following is the correct way to add background color in HTML?

  • <body color = “green”>

  • <body bg-color = “green”>

  • <body style = “background-color=green”>

  • <body style = “background-color: green;”>

Question 16

Which among the following is correct HTML code for making a checkbox?

  • <checkbox>

  • <input type="checkbox">

  • <check>

  • <input type="check">

Question 17

Which tag is used for creating a drop-down selection list?

  • <select>

  • <option>

  • <dropdown>

  • <list>

Question 18

Which tag is used to add an header in HTML5 table?

  • <theader>

  • <h1>

  • <th>

  • <header>

Question 19

Which of the following elements can be used in HTML to create a table?

  • <table> , <tbody> , <trow>

  • <table> , <tb> , <trow>

  • <table> , <tbody> , <tr>

  • All of the above

Question 20

Which among the following is the correct way in HTML to insert an image?

  • <img url=“https://bit.ly/2FicgIx”>Geeksforgeeks</img>

  • <img href=“https://bit.ly/2FicgIx” alt= “Geeksforgeeks”></img>

  • <img src=“https://bit.ly/2FicgIx” alt=“Geeksforgeeks”>

  • <image src=“https://bit.ly/2FicgIx” alt=“Geeksforgeeks”></image>

There are 20 questions to complete.

Last Updated :
Take a part in the ongoing discussion