NEW
Font size
WorksheetsHTML TAGS
Total questions: 15
Worksheet time: 8mins
1. What does the <a> tag define in HTML?
a) Paragraph
b) Link
c) Table
d) Audio
2. Which attribute in the <img> tag specifies the image source?
a) href
b) src
c) alt
d) link
3. What are the tags used inside a <table> to define rows and cells?
a) <tr> for rows, <td> for cells
b) <row> for rows, <cell> for cells
c) <table-row>, <table-data>
d) <div>, <span>
4. How do you embed an audio file in HTML?
a) <audio src="file.mp3"></audio>
b) <sound src="file.mp3"></sound>
c) <media src="file.mp3"></media>
d) <mp3>
5. Which attribute is used to add a link to a <a> tag?
a) src
b) href
c) link
d) url
6. What tag starts an HTML form?
a) <form>
b) <input>
c) <button>
d) <fieldset>
7. How do you define a text input field inside a form?
a) <input type="text">
b) <textbox>
c) <text>
d) <textfield>
8. Which tag is used to create a dropdown list in a form?
a) <list>
b) <select>
c) <input type="list">
d) <dropdown>
9. Which tag defines a table header cell?
a) <th>
b) <td>
c) <head>
d) <header>
10. Which tag is used to create a numbered list?
a) <ul>
b) <ol>
c) <list>
d) <li>
11. How to link an external CSS file to an HTML document?
a) <link href="style.css" rel="stylesheet">
b) <stylesheet src="style.css">
c) <style src="style.css">
d) <css src="style.css">
12. How to create a button in an HTML form?
a) <button>
b) <input type="button">
c) Both a and b
d) <btn>
13. Which input type allows users to select one option from a set?
a) checkbox
b) dropdown
c) radio
d) text
14. How to embed a YouTube video in HTML?
a) <video src="youtube link">
b) <embed src="youtube link">
c) <iframe src="youtube link">
d) <media src="youtube link">
15. How to add multiple lines text input in forms?
a) <input type="textarea">
b) <textarea>
c) <input multiline>
d) <input type="text"
