HTML Exam
HTML Exam
Name _____________________ID___________Department_________Section____
1. HTML is what type of language ?
A.Scripting Language C.Programming Language
B.Markup Language D.Network Protocol
2. What is the full form of HTML?
A.HyperText Markup Language C.Hyper Tech Markup Language
B.Hyper Teach Markup Language D.None of these
3. How can you make a bulleted list with numbers?
A.<dl> B.<ol> C.<list> D.<ul>
4. Which HTML tag produces the biggest heading?
A.<h7> B.<h9> C.<h4> D.<h1>
5. What is the smallest header in HTML by default?
A. h1 B. h2 C. h6 D. h4
6. We enclose HTML tags within?
A. { } B. < > C. ! ! D. None of the above
7. Which HTML element is used to define table data?
A. <li> B. <ol> C.<Td> D.<dl>
8. What is the correct syntax to write an HTML comment?
A. <!-- Comment --> B.// Comment C.# Comment D. /* Comment */
9. Which HTML tag is called the root element of an HTML document?
A. <html> B. <body> C. <title> D. <head>
10. Which of the following tags is used to add a row to a table in HTML?
A. <tr> B. <td> C. <th> D. None of the above
11. < body > Is this an opening tag or a closing tag?
A. Opening B. Closing
12. between which tag does the main content of a webpagego in an HTML document ?
A. < html > </html> B. < body > < / body > C.< / title>< title / > D.All
13. <br> What type of tag is this?
A.Break tag B. A broken one C. An opening tag
14. Which HTML tag is used for making character appearance bold?
a) <u>content</u> b) <b>content</b> c) <br>content</br> d) <i>content</i>
15. Which HTML tag is used to insert an image?
a) <img url=”htmllogo.jpg” /> c) <img src=”htmllogo.jpg” />
b) <img alt=”htmllogo.jpg” /> d) <img link=”htmllogo.jpg” />
16. Which character is used to represent when a tag is closed in HTML?
a) # b) ! c) / d) \
17. Among the following, which is the HTML paragraph tag?
a) <p> b) <pre> c) <hr> d) <a>
18. Which HTML element is used for abbreviation or acronym?
a) <abbr> b) <blockquote> c) <q> d) <em>
19. Which of the following extension is used to save an HTML file?
a) .hl b) .h c) .htl d) .html
20. Which tag is used to create a link in HTML?
a) <b> b) <br> c) <em> d) <a>
21. Which tag is used to underline the text in HTML?
a) <p> b) <u> c) <i> d) <ul>
22. XHTML is a combination of _____________and ______________.
23. write html code for the following Equations H2O and X2