0% found this document useful (0 votes)
4 views5 pages

HTML5 Class Test - Greenfield School

Uploaded by

sji22-4b-003
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views5 pages

HTML5 Class Test - Greenfield School

Uploaded by

sji22-4b-003
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

GREENFIELD INTERNATIONAL SCHOOL

Class Test - II (CT-2)

Subject: HTML5 Full Marks: 50 Time: 40 Minutes

Name: __________________________ Roll No: __________


Class: __________ Section: __________

Instructions:
1. Answer all questions.
2. Write neatly and clearly.
3. Do not write answers to MCQs on the question paper.
4. Marks are indicated against each part.

Part A: Multiple Choice Questions (20 Marks)


1. HTML stands for:

(A) Hyper Text Markup Language


(B) High Text Machine Language
(C) Hyperlinks and Text Markup Language
(D) Home Tool Markup Language
2. Which is the latest version of HTML?

(A) HTML3
(B) HTML4
(C) HTML5
(D) HTML6
3. HTML5 is supported by:

(A) All modern browsers


(B) Only Internet Explorer
(C) Only Chrome
(D) None of these
4. Which tag defines navigation links?

(A) <nav>
(B) <link>
(C) <navigate>
(D) <a>
5. The <header> tag is used for:

(A) Footer content


(B) Top section of a page
(C) Adding images
(D) Paragraphs
6. The <video> tag supports which formats?

(A) MP4, WebM, Ogg


(B) AVI only
(C) MOV only
(D) MKV only
7. Which attribute sets the background color?

(A) bgcolor
(B) background
(C) color
(D) bcolor
8. The first line of an HTML5 document is:

(A) <!DOCTYPE html>


(B) <html>
(C) <head>
(D) <!HTML>
9. Which tag defines the footer section?

(A) <footer>
(B) <bottom>
(C) <section>
(D) <end>
10. The <section> tag is used for:

(A) Defining a section of content


(B) Inserting an image
(C) Linking CSS
(D) Adding scripts
11. Which tag can be omitted in HTML5?

(A) <html>
(B) <body>
(C) <head>
(D) Both <html> and <body>
12. Which tag is used to insert images?

(A) <image>
(B) <img>
(C) <src>
(D) <pic>
13. The <canvas> element is used for:

(A) Graphics and drawings


(B) Adding audio
(C) Inserting video
(D) Creating links
14. Which attribute provides alternate text for images?

(A) alt
(B) title
(C) src
(D) name
15. Which tag is used for bold text?

(A) <strong>
(B) <bold>
(C) <em>
(D) <btext>
16. The <meta> tag provides:

(A) Metadata
(B) Headings
(C) Body content
(D) Links
17. The <br> tag is used to:

(A) Insert a line break


(B) Create a paragraph
(C) Add a space
(D) Make text bold
18. Which tag defines an unordered list?

(A) <ul>
(B) <ol>
(C) <list>
(D) <li>
19. Which tag defines a table row?

(A) <tr>
(B) <td>
(C) <th>
(D) <table>
20. HTML comments are written as:

(A) <!-- comment -->


(B) // comment
(C) /* comment */
(D) # comment

Part B: One Sentence Questions (20 Marks)


1. What is HTML5 used for?
2. Name any two semantic tags in HTML5.
3. What does <!DOCTYPE html> mean?
4. Which tag is used to add a hyperlink?
5. What is the purpose of the <head> tag?
6. Define the <title> tag.
7. What is the difference between <div> and <span>?
8. What is the function of the <form> tag?
9. Name one tag used for embedding audio.
10. What is the use of the <aside> tag?
11. Write the syntax of the <img> tag.
12. What does the <hr> tag do?
13. Define the <article> tag.
14. Mention one use of the <footer> tag.
15. What is the use of the <video> tag?
16. Define ‘attributes’ in HTML.
17. What does the <em> tag represent?
18. Write the use of the <source> tag.
19. What is the function of <meta charset='UTF-8'>?
20. What does the <link> tag do?

Part C: True or False (5 Marks)


1. HTML5 supports offline storage using localStorage.
2. The <font> tag is recommended in HTML5.
3. The <audio> tag is used for video playback.
4. HTML5 allows multiple <header> elements in one page.
5. The <b> and <strong> tags have exactly the same meaning.
Part D: Match the Following (5 Marks)
Column A Column B
1. &lt;b&gt; a. Adds a line break
2. &lt;br&gt; b. Defines a paragraph
3. &lt;p&gt; c. Bold text
4. &lt;img&gt; d. Inserts an image
5. &lt;ul&gt; e. Unordered list

__________________________
Teacher's Signature

You might also like