< Back to Tests


HTML Tags

Warmup Test

1. Marquee is a tag in HTML to

Mark the text so that it is hidden in browser
Display text with scrolling effect
mark the list of items to maintaininqueue
none of these

2. What is the HTML element for inserting a line break?

<br>
<p>
<hr>
None

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

<background>Red</background>
<body style="background-color:yellow;">
<body bg="pink">
<body background="pink">

4. HTML element to define important text

<important>
<must>
<strong>
<b>

5. Correct HTML tag for the smallest size heading ?

h5
h7
h6
p

6. Which tag does not need its pair ?

<p>
<hr>
<li>
<b>

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

<row>
<td>
<tr>
<table-row>

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

<line>
<hr>
<br>
<horizontal>

9. How many heading tags are available in HTML ?

5
7
6
4

10. What is the correct HTML for creating a hyperlink ?

<a>http://www.breakinterview.com</a>
<a url="http://www.breakinterview.com">breakinterview</a>
<a href="http://www.breakinterview.com">breakinterview</a>
<a name="http://www.breakinterview.com">breakinterview</a>

11. What tag is used to list items in an ordered list ?

<ul>
<ol>
<li>
<tr>

12. Correct HTML tag to make a text italic

<italic>
<i>
<il>
<li>