Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Test 1

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

QUIZ TEST-1

SUBJECT- HTML
Time- 20 Minutes Marks- 20

Students Name-
Class-

1. What does HTML stand for?


a) Hyper Text Markup Language    
b) Hyperlinks and Text Markup Language
c) Home Tool Markup Language

Your Answer:

2. Who is making the Web standards?


a) The World Wide Web Consortium    
b) Google
c) Microsoft
d) Mozilla

Your Answer:

3. Choose the correct HTML element for the largest heading:


a) <h1>    
b) <head>
c) <heading>
d) <h6>

Your Answer:

4. What is the correct HTML element for inserting a line break?


a) <br>    
b) <lb>
c) <break>

Your Answer:

5. What is the correct HTML for adding a background color?


a) <body style="background-color:yellow;">    
b) <body bg="yellow">
c) <background>yellow</background>

Your Answer:
6. Choose the correct HTML element to define important text
a) <strong>    
b) <b>
c) <i>
d) <important>

Your Answer:

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>

Your Answer:

8. Which character is used to indicate an end tag?


a) /    
b) *
c) <
d) ^

Your Answer:

9. How can you open a link in a new tab/browser window?


a) <a href="url" target="_blank">    
b) <a href="url" new>
c) <a href="url" target="new">

Your Answer:

10. Which of these elements are all <table> elements?


a) <table><tr><td>    
b) <table><head><tfoot>
c) <thead><body><tr>
d) <table><tr><tt>

Your Answer:

11. How can you make a numbered list?


a) <ol>     b) <ul>
c) <list> d) <dl>

Your Answer:
12. How can you make a bulleted list?
a) <ul>    
b) <ol>
c) <dl>
d) <list>

Your Answer:

13. What is the correct HTML for inserting an image?

a) <img src="image.gif" alt="MyImage">    


b) <img href="image.gif" alt="MyImage">
c) <img alt="MyImage">image.gif</img>
d) <image src="image.gif" alt="MyImage">

Your Answer:

14. What is the correct HTML for inserting a background image?

a) <body style="background-image:url(background.gif)">    
b) <background img="background.gif">
c) <body bg="background.gif">

Your Answer:

15. An <iframe> is used to display a web page within a web page.

a) True      
b) False
c) There is no such thing as an <iframe>

Your Answer:

16. HTML comments start with <!-- and end with -->

a) True    
b) False

Your Answer:

17. Which HTML element defines the title of a document?

a) <title>     b) <meta> c) <head>

Your Answer:
18. Which HTML attribute specifies an alternate text for an image, if the image cannot be
displayed?

a) alt    
b) src
c) longdesc
d) title

Your Answer:

19. Which doctype is correct for HTML5?

a) <!DOCTYPE html>    
b) <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN"
"http://www.w3.org/TR/html5/strict.dtd">
c) <!DOCTYPE HTML5>

Your Answer:

20. Which element is used to get highlighted text in HTML5?

a) <highlight>
b) <b>
c) <mark>
d) <u>

Your Answer:

You might also like