wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Super Dream Fit - HTML D1 Batch1

Total questions: 16

Worksheet time: 14mins

Name
Class
Date
1.

Add a "tooltip" to the paragraph below with the text "About BIT".

<p (a)   ="About W3Schools">W3Schools is a web developer's site.</p>

2.

Make the element below into a link that goes to "https://www.thebettertomorrow.in"

<a (a)   "https://www.w3schools.com">This is a link</a>

3.

Specify an alternate text for the image.

Alternate text is useful when the image cannot be displayed, like when the page is read by a screen reader.

<img src="logo.png" (a)   ="BIT Logo">

4.

Use the correct HTML tag to add a heading with the text "London"

(a)  

<p>London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.</p>

5.

Add a horizontal rule between the heading and the paragraph.

<h1>London</h1>

----------

<p>London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.</p>

(a)  

6.

Add a line break in the middle of the paragraph:

<p>My Bonnie lies (a)   over the ocean.</p>

7.

Use the correct HTML attribute to make the link open in a new window.

<a href="html_images.asp" (a)   >HTML Images</a>

8.

Add a "tooltip" to the link.

The "tooltip" should say "Hello"

<a href="default.html" (a)   >Back to Home</a>

9.

Use the correct HTML attribute to display letters (uppercase ABC) instead of numbers.

<ol (a)   >  <li>Coffee</li>  <li>Tea</li>  <li>Milk</li></ol>

10.

Choose the correct HTML element to define logically important text

a)

<i>

b)

<important>

c)

<strong>

d)

<b>

11.

Select the void elements from given below options

a)

<p>

b)

<span>

c)

<br>

d)

<div>

12.

HTML comments start with <!-- and end with -->

a)

True

b)

False

13.

Which HTML element defines navigation links?

a)

<nav>

b)

<navigation>

c)

<navigate>

14.

Use CSS styles to make the table 300 pixels wide.

<table (a)   >  <tr>    <th>First Name</th>    <th>Last Name</th>    <th>Points</th>  </tr>  <tr>    <td>Jill</td>    <td>Smith</td>    <td>50</td>  </tr></table>

15.

Use the correct HTML attribute to make the second TH element span two rows.

<table>   <tr>     <th>Name</th>     <td>Jill Smith</td>   </tr>   <tr>     <th (a)   >Phone</th>     <td>555-77854</td>   </tr>   <tr>     <td>555-77854</td>   </tr> </table>

16.

Use the correct HTML attribute to make the first TH element span two columns.

<table>  <tr>    <th (a)   >Name</th>    <th>Age</th>  </tr>  <tr>    <td>Jill</td>    <td>Smith</td>    <td>50</td>  </tr>  <tr>    <td>Eve</td>    <td>Jackson</td>    <td>94</td>  </tr></table>