Anik Software Technologies Pvt. Ltd.

HTML Exam Paper

Anik Software Technologies Pvt. Ltd Page 1

1. What does HTML stand for?:-__________________
a) Home Tool Markup Language
b) Hyperlinks and Text Markup Language
c) Hyper Text Markup Language
2. Choose the correct HTML tag for the largest heading:-___________
a) <h6> c)<h1>
b) <head> d)<heading>
3. What is the correct HTML tag for inserting a line break?:-___________
a) <br>
b) <lb>
c) <break>
4. What is the preferred way for adding a background color in HTML?:-__________
a) <background>yellow</background>
b) <body style="background-color:yellow;">
c) <body background="yellow">
5. Choose the correct HTML tag to make a text bold:-__________
a) <b> b)<bold>
6. Choose the correct HTML tag to make a text italic:-__________
a) <italic> b)<i>
7. What is the correct HTML for creating a hyperlink?:-__________
a) <a href="http://www.w3schools.com">W3Schools</a>
b) <a name="http://www.w3schools.com">W3Schools.com</a>
c) <a url="http://www.w3schools.com">W3Schools.com</a>
d) <a>http://www.w3schools.com</a>
8. How can you open a link in a new tab/browser window?:-__________
a) <a href="url" target="_blank">
b) <a href="url" target="new">
c) <a href="url" new>
9. Which of these tags are all <table> tags?:-__________
a) <table><tr><td>
b) <thead><body><tr>
c) <table><head><tfoot>
d) <table><tr><tt>
Anik Software Technologies Pvt. Ltd.
HTML Exam Paper

Anik Software Technologies Pvt. Ltd Page 2

10. In HTML, inline elements are normally displayed without starting a new line.:-__________
a) True
b) False
11. How can you make a numbered list?:-__________
a) <dl> c)<list>
b) <ol> d)<ul>
12. How can you make a bulleted list?:-__________
c) <dl> c)<list>
d) <ol> d)<ul>
13. What is the correct HTML for making a checkbox?:-__________
a) <input type="checkbox">
b) <checkbox>
c) <input type="check">
d) <check>
14. What is the correct HTML for making a text input field?:-___________
a) <textinput type="text">
b) <input type="textfield">
c) <input type="text">
d) <textfield>
15. What is the correct HTML for making a drop-down list?:-__________
a) <list>
b) <select>
c) <input type="dropdown">
d) <input type="list">
16. What is the correct HTML for making a text area?:-__________
a) <input type="textbox">
b) <input type="textarea">
c) <textarea>
17. What is the correct HTML for inserting an image?:-__________
a) <image src="image.gif" alt="MyImage">
b) <img alt="MyImage">image.gif</img>
c) <img src="image.gif" alt="MyImage">
d) <img href="image.gif" alt="MyImage">

Anik Software Technologies Pvt. Ltd.
HTML Exam Paper

Anik Software Technologies Pvt. Ltd Page 3

18. What is the correct HTML for inserting a background image?:-__________
a) <body background="background.gif">
b) <background img="background.gif">
c) <img src="background.gif" background>
19. What is the previous version of HTML, prior to HTML5?:-__________
a) HTML 4.01 c)HTML 4.9
b) HTML 4.1 d)HTML4
20. What is the correct HTML5 element for playing video files?:-__________
a) <movie>
b) <video>
c) <media>
21. What tells the browser where the form starts and ends ?:-__________
a) <form>
b) <span>
c) <head>
d) <body>
22. Which HTML5 element is used to display a scalar measurement within a known range?:-____
a) <gauge> c)<meter>
b) <measure> d)<range>
23. All HTML tags are enclosed in what ?:-__________
a) < and >
b) ? and !
c) # and #
24. To seperate single list items use ?:-__________
a) <li> and </li>
b) <ol> and </ol>
c) <ul> and </ul>
25. When making bulleted lists you have what options ?:-__________
a) triangle, square, circle
b) square, disc, polygon
c) disc, circle, square


Anik Software Technologies Pvt. Ltd.
HTML Exam Paper

Anik Software Technologies Pvt. Ltd Page 4

26. Tags and text that do not show directly on the page are placed where ?:-__________
a) Body
b) Tables
c) Head
27. Which program do you need to write HTML?:-________
a) Any text editor
b) HTML-development suite
c) A graphics program
28. One line areas that allow the user to input text are called ? :-__________
a) Text area
b) Written field
c) Text field
29. Which attribute specify where to send a form ?:-__________
a) method
b) action
c) ID
30. What is the correct HTML5 element for playing audio files?:-__________
a) <mp3>
b) <audio>
c) <sound>