Worksheet On HTML
Worksheet On HTML
Worksheet On HTML
Name of the Student: ___________ Roll No. __________ Class: ________ Div: _______
Choose the correct alternative:
1. There are _____ types of tags in HTML
a) 3 b) 1 c) 2
2. If we need to set the size of an image to 250 pixels wide and 400 pixels tall the code
will be
a) width= “400” height=”250”
b) width= “250” height=”400”
c) width= “40” height=”25”
14. Which attribute of the <input> tag is used to specify a label for the input field?
a) value
b) name
c) id
d) placeholder
15. Which attribute of the <input> tag is used to specify the maximum number of
characters allowed in an input field?
a) maxlength
b) max
c) size
d) limit
16. What is the default colour of unvisited links in most web browsers?
a) Black
b) Blue
c) Purple
d) Green
17. What will the browser display for the above HTML code?
<a href="home.php">Go to Home Page</a>