Name:     ID: 
 
Email: 

DTS-CS  Introduction to HTML QUIZ

True/False
Indicate whether the statement is true or false.
 

 1. 

An attribute is used to modify an element.
 

 2. 

The attribute value used to set a document’s background color can be a hexadecimal value.
 

 3. 

Spaces and blank lines in an HTML document affect how it is interpreted.
 

 4. 

Text between paragraph tags is automatically wrapped by the browser.
 

 5. 

The horizontal rule tag must be paired.
 

 6. 

Text that has been marked up with HTML is called an HTML document.
 

 7. 

The break tag must be paired.
 

 8. 

The Windows taskbar can be used to quickly switch between open applications.
 

 9. 

The Source command can be used to view the HTML associated with any HTML document that is displayed in a browser.
 

 10. 

A tag with a slash (/) before the element indicates the start of an instruction.
 

 11. 

Tags affect the text they surround.
 

 12. 

Hyperlinks are typically displayed as green underlined words in the browser window.
 

 13. 

A hyperlink is also called a link.
 

 14. 

The HTML associated with a document is protected by copyright.
 

 15. 

Comments in a document appear in a browser window.
 

 16. 

In a browser window, hyperlinks can be clicked to display a different HTML document.
 

Multiple Choice
Identify the choice that best completes the statement or answers the question.
 

 17. 

Which tag tells the Web browser that the document file contains HTML?
a.
<file>
c.
<title>
b.
<html>
d.
<body>
 

 18. 

Which type of files are HTML documents?
a.
rich text format files
c.
plain text files
b.
image files
d.
tag files
 

 19. 

Which is not a document tag?
a.
<br>
c.
<title>
b.
<html>
d.
<body>
 

 20. 

Which application is used to view HTML documents that have been published to a Web server?
a.
Notepad
c.
a Web browser
b.
a text editor
d.
a word processor
 

 21. 

Which tag is used to move a line of text within a paragraph to the next line?
a.
<p>
c.
<hr>
b.
<br>
d.
<html>
 

 22. 

What is the default alignment for a horizontal rule?
a.
centered
b.
left
c.
justified
d.
right
 

 23. 

Which Internet Explorer button is used to update a document?
a.
the Update button
c.
the Back button
b.
the Home button
d.
the Refresh button
 

 24. 

Which heading tag has the largest font size?
a.
Heading 1
c.
Heading 6
b.
Heading 2
d.
Heading 8
 

 25. 

Which extension must be included with an HTML document file name?
a.
.txt
c.
.exe
b.
.htm
d.
.doc
 

 26. 

Which tag places a horizontal rule across half the width of the browser window, left aligned, and with a thickness of 3 pixels?
a.
<hr width="50%" size="3"></hr>
b.
<hr width="3" size="50%" align=left>
c.
<hr thickness="3">
d.
<hr width="50%" align=left size="3">
 

 27. 

Which tag defines the section that contains the document’s content?
a.
the head tag
c.
the title tag
b.
the body tag
d.
the html tag
 

 28. 

Which tag is used to create a hyperlink?
a.
<a>
c.
<hyperlink>
b.
<hr>
d.
<p>
 

Completion
Complete each statement.
 

 29. 

The paragraph tag __________ aligns text by default.
 

 

 30. 

HTML documents are plain ___________ files.
 

 

 31. 

The heading ______ tag has the largest font size.
 

 

 32. 

The ___________ tag defines the section that contains information about the HTML document, including its title.
 

 

Short Answer
 

 33. 

Write a tag that would place a horizontal rule across 50% the width of the browser window.
 

 34. 

Write the start tag that would change the document’s background color to Black and the text color to Silver.
 

 35. 

Write the HTML that would display the text Hello World in heading level 3.
 



 
         Start Over