Name:     ID: 
 
Email: 

DTS-CS  Introduction to HTML QUIZ

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

 1. 

Text between paragraph tags is automatically wrapped by the browser.
 

 2. 

Comments in a document appear in a browser window.
 

 3. 

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

 4. 

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

 5. 

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

 6. 

The horizontal rule tag must be paired.
 

 7. 

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

 8. 

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

 9. 

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

 10. 

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

 11. 

An attribute is used to modify an element.
 

 12. 

Tags affect the text they surround.
 

 13. 

The break tag must be paired.
 

 14. 

A hyperlink is also called a link.
 

 15. 

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

 16. 

The HTML associated with a document is protected by copyright.
 

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

 17. 

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">
 

 18. 

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

 19. 

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>
 

 20. 

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
 

 21. 

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

 22. 

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

 23. 

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

 24. 

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

 25. 

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

 26. 

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

 27. 

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
 

 28. 

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
 

Completion
Complete each statement.
 

 29. 

The heading ______ tag has the largest font size.
 

 

 30. 

HTML documents are plain ___________ files.
 

 

 31. 

The paragraph tag __________ aligns text by default.
 

 

 32. 

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

 

Short Answer
 

 33. 

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

 34. 

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

 35. 

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



 
         Start Over