HTML Basics Question Paper
Total Marks: 20
Time: 30 Minutes
Name:- Date:-
---
Instructions:
All questions are compulsory.
Each question carries 1 mark.
Multiple Choice Questions (MCQs) have one correct answer.
Multiple Select Questions (MSQs) may have more than one correct answer.
---
Part A: Multiple Choice Questions (MCQs)
1. What does HTML stand for?
a) HyperText Markup Language
b) HighText Markup Language
c) HyperTool Markup Language
d) HyperText Making Language
2. Which HTML tag is used to define a hyperlink?
a) <link>
b) <a>
c) <href>
d) <hyperlink>
3. Which tag is used to create an unordered list in HTML?
a) <ul>
b) <ol>
c) <li>
d) <list>
4. What is the correct HTML tag for inserting an image?
a) <img>
b) <picture>
c) <src>
d) <image>
5. How do you specify a background color for an HTML element?
a) background-color
b) bgcolor
c) background
d) color-bg
6. Which tag is used to define a table row?
a) <tr>
b) <td>
c) <th>
d) <row>
7. What does the <title> tag do?
a) Displays the title inside the webpage.
b) Sets the title for the browser tab.
c) Displays a heading.
d) Adds a caption to an image.
8. Which attribute is used to open a link in a new tab?
a) href
b) target="_self"
c) target="_blank"
d) rel="newtab"
9. Which tag is used to create a line break in HTML?
a) <break>
b) <lb>
c) <br>
d) <hr>
10. What is the default alignment for text in an HTML paragraph?
a) Left
b) Right
c) Center
d) Justify
Part B: Multiple Select Questions (MSQs)
11. Which of the following are semantic HTML tags?
a) <div>
b) <header>
c) <article>
d) <span>
12. Which attributes are mandatory in the <img> tag?
a) src
b) alt
c) title
d) height
13. Which tags can be used to create a table in HTML?
a) <table>
b) <tr>
c) <td>
d) <ul>
14. Which tags are used for text formatting in HTML?
a) <b>
b) <i>
c) <u>
d) <p>
15. Which of the following are valid HTML5 tags?
a) <video>
b) <canvas>
c) <frame>
d) <audio>
16. Which of the following tags are used for input forms in HTML?
a) <form>
b) <input>
c) <textarea>
d) <fieldset>
17. What can the <meta> tag define in an HTML document?
a) Charset
b) Keywords
c) CSS
d) Viewport
18. Which of the following tags are used to group content?
a) <div>
b) <span>
c) <section>
d) <header>
19. Which attributes can control the size of an image in HTML?
a) width
b) height
c) size
d) dimensions
20. Which tags are used to include external resources in HTML?
a) <link>
b) <script>
c) <style>
d) <embed>