Madhuri Shah Campus, Ramakrishna Mission Road, Corner of 16 th and 17th Roads, Khar, Mumbai 400 052
2024-25
Worksheet
Name: _________________________________ Roll No: _______________.
Std: VII Div: ________ Subject: Computer Studies
___________________________________________________________________
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”
3. The ________ tag is used to delimit the page’s body
a) </body> … <body>
b) <head> … <body>
c) <body> … </body>
4. Which tag is used to create an unordered list in HTML
a) <ol> b) <ul> c) <li>
5. Which tag is used to enter the data in a table in HTML
a) <td> </td> b) <tr> <td> c) <td> <\td>
6. Ordered list is a list created using _____
a) Bullets
b) Colours
c) Numbers and alphabets
7. HTML is a case sensitive language
a) True b) False
8. The largest heading size in HTML is
a) <H1> b) <H6> c) <H10>
9. The <head> tag is an empty tag
a) True b) False
10. The <br> tag is used to break
a) Page b) Html c) Line
11. What is a hyperlink in HTML?
a) It is a file that contains the HTML code
b) It allows one to display images in HTML pages
c) It is the table of contents for a website
d) It is a way to point to another page or an element of a web page.
12. Which element creates a hyperlink in HTML?
a) The href element
b) The link element
c) The anchor element
d) The img element
13. Which input type creates a single-line text input field?
a) text b) checkbox c) submit
14. Which attribute of the <input> tag is used to specify a label for the input field?
a) value b) name c) id
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
16. What is the default colour of unvisited links in most web browsers?
a) Blue b) Purple c) Green
17. What will the browser display for the above HTML code?
<a href="home.php">Go to Home Page</a>
a) It will display the entire line as it is.
b) It will display- Go to Home Page
c) It will display- Go to Home Page(link)
d) First it will display home.php, and upon clicking it, it will display Go to Home
Page.(link)
18. Default style of link can be changed by-
a) javascript b) CSS c) php
19. Which tag is used to create a dropdown in HTML Form?
a) <input> b) <select> c) <text>
20. What is meant by an empty tag in HTML?
a) There is no such concept of an empty tag in HTML.
b) An empty tag does not require a closing tag
c) An empty tag cannot have any content within it
d) None of the above