NEW
Font size
WorksheetsHTML Coding
Total questions: 30
Worksheet time: 18mins
Which of the following code is correct?
<html><center><body>NAME</body></center><html>
<html><body><center>NAME</body></body><center><html>
<html><body>NAME</body></html>
<html><body>NAME</body><html>
HTML stands for
Hypertext Modem Language.
Hypertext Markup Language.
Hypertext ModernLanguage.
none of these is correct
3 Parts of an HTML document include:
the DTD, header and footer
the DTD, header and body
the DTD, body and footer
none of these
All HTML tags must be used in pairs.
true
false
HTML tags usually appear:
after any angle brackets (<>)
before two angle brackets (< >)
between two angle brackets (< >)
none of these is correct
The <H6> tag is used to create a:
very large heading
very small heading
Which tag is used to create a bulleted list?
<ol>
<un>
<bl>
<ul>
Which tag is used to create a numbered list?
<ul>
<ol>
<nl>
none of these
To view the source code on a web page, ________________________ with your mouse on any web page and select .
left click, View-Source Code
right-click, View-Source Code
click, HTML Coding
none of these
The <p> tag inserts paragraphs into an HTML document.
true
false
Which will insert a line break?
<LB>
<BR>
<LI>
<LI>
Which inserts a horizontal line?
<HR>
<HL>
<LI>
none of these
Which of the following code is correct?
<font color=BLUE></font>
<font color="BLUE></font>
<font color=BLUE><font>
<font color="BLUE"></font>
Which tag will add italics to the text?
<strong>
<li>
<em>
<i>
What are the <p> tags in this code called?
<html><p>This is a new paragraph.</p></html>
proper tags
orphan tags
nested tags
none of these
Which element contains the visible page content?
<em>
<title>
<body>
<color>
A tag that only requires an starting or opening tag is called a(n):
opening or closing tag
orphan tag or empty tag
nested tag
none of these
An instruction that further specifies a tag’s characteristics is called a(n):
DTD
hyperlink
tag
attribute
In HTML coding, the ______________ link identifies what is clicked on and where the link takes the user
anchor
attribute
element
tagname
Which is the correct HTML coding?
<A HREF=http://www.google.com>google<A>
<AHREF=http://www.google.com>google</A>
<A HREF=http://www.google.com>google</A>
<A HREF=http://www.google.com></A>
What is the correct HTML for creating a hyperlink?
<a name="http://www.w3schools.com">W3Schools.com</a>
<a href="http://www.w3schools.com">W3Schools</a>
<a url="http://www.w3schools.com">W3Schools.com</a>
<a>http://www.w3schools.com</a>
Which character is used to indicate an end tag?
<
>
*
/
Which of the following are used to define the characteristics of an HTML element and is placed inside the element's opening tag?
hypertext
behavior
attribute
tag
Which of the following will assign a background color of powder blue to your HTML document?
<body style="background color:powder blue;">
<body style=background-color:powderblue;>
<body style="background-color:powderblue;">
< style="background-color:powderblue;">
When saving your HTML document, use the following extension:
.doc
.txt
.htm
.html
Which of the following is the correct HTML code for assigning a font color to text?
<p style="color:blue;">I am blue</p>
<p style=color:blue>I am blue</p>
<p style="color:blue;"I am blue</p>
<p style="color:blue;">I am blue<p>
When viewing your HTML document in a browser:
right-click on the icon after you have saved your HTML file
save your HTML file with a .html extension
you may have to change to "all documents" to view the file after you have saved it
you may have to do all of these to view your HTML doc successfully!
Which of the following allows you to assign colors,
styles, and alignment to a page in HTML?
code
attribute
parentheses
none of these!
Which of the following will insert a line on the page in an HTML document?
<BR>
<LI>
</LI>
<HR>
Which of the following tags would you use to define important text on a webpage?
<HR>
<BR>
<STRONG>
<H6>
