Question 1
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 2
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>
Question 3
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 5
Which tag is used for creating a drop-down selection list?
<select>
<option>
<dropdown>
<list>
Question 6
Which among the following is correct HTML code for making a checkbox?
<checkbox>
<input type="checkbox">
<check>
<input type="check">
Question 7
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 8
Which of the following attributes is used to open an hyperlink in new tab?
tab
href
target
ref
Question 9
Which of the following tags is used to add a line-break in HTML?
<br>
<break>
</break>
</br>
Question 10
Which of the following tags is used to make a portion of text italic in HTML?
<italic>
<style= “i”>
<i>
<style=“italic”>
There are 20 questions to complete.