NEW
Font size
WorksheetsHTML Chp. 1-4 CSS, 8 Tables, 9 Forms
Total questions: 43
Worksheet time: 22mins
Which tag pair is used to create a new paragraph in HTML?
<new paragraph> </new paragraph>
<paragraph> </paragraph>
<p> </p>
<para> </para>
Which tag pair creates the largest heading in HTML?
<h1> </h1>
<h9> </h9>
<h type="smallest"> </h>
<h6> </h6>
Which tag forces the browser to display the next text or element on a new line?
<new line>
<p>
<br>
<line>
Choose the true statement about HTML document structure.
The content that displays in the browser is contained in the head section.
The content that displays in the browser is contained in the body section.
Information about the web page is contained in the body section.
All of the above are true.
Which HTML list type automatically places a number in front of the items?
numbered list
ordered list
unordered list
definition list
Which tag pair contains the items in an ordered or unordered list?
<item> </item>
<li> </li>
<dd> </dd>
none of the above
Choose the tag pairs that are used in a definition list.
<dt> </dt>
<dl> </dl>
<dd> </dd>
all of the above
Which tag pair configures text to be indented from both the left and right margins?
<blockquote>.. </blockquote>
<p>.. </p>
<h1>.. </h1>
all of the above
Which special character is used to indicate a blank space in HTML?
␣
©
none of the above
Which tag is used to link web page documents to each other?
<link> tag
<hyperlink> tag
<a> tag
<body> tag
The text contained between title tags is:
Not displayed by browsers
Displayed in the title bar of the browser window
Not used by search engines
Never seen by your web page visitor
Which of the following tags does not require a closing tag?
<p>
<br>
<i>
<a>
Which of the following tags should NOT be located in the head section?
<title>
<h1>
<meta>
All the tags listed above should be coded in the head section.
When CSS is coded in the body of the web page as an attribute of an HTML tag, it is called:
Embedded
Inline
External
Imported
Which CSS declaration property sets the text color on a web page?
bgcolor
text-color
color
None of the above
An external style sheet uses which file extension?
ess
css
htm
No file extension is necessary
Which tag is used to associate a web page with an external style sheet?
<target>
<a>
<include>
<link>
Select the CSS code that configures a background color of #eaeaea for an entire web page.
body {background-color:#eaeaea;}
document {background-page:#eaeaea;}
body {bgcolor:#eaeaea;}
None of the above
Select the code that uses CSS to configure a class called "offer" with blue text that uses the Arial or sans-serif font typeface.
#offer { color:blue; font-family:Arial,sans-serif;}
.offer { color:blue; font-family:Arial,sans-serif;}
offer { text:blue; font-family:Arial,sans-serif;}
d. #offer { color:blue; font-family:Arial,sans-serif;}
Use the _____ tag to code embedded styles on a web page.
<link>
<style> </style>
<embed>
none of the above
Select the code that uses CSS to configure an id named "footer" that sets small, italic text.
#footer { font-size: small; font-weight: italic;}
.footer{ font-size: small; font-style: italic;}
.footer { font-size: small; font-style: italic;}
#footer { font-size: small; font-style: italic;}
Use the ______ tag to configure a section of a web page that is physically separated from others.
<div>…</div>
<span>… </span>
<a> … </a>
<i> … </i>
To associate an external style sheet with a web page, code:
a link element in the body section of the web page
a link element in the head section of the web page
a style element in the body section of the web page
a style element in the head section of the web page
Choose the item that creates an image link to the school.htm page when the school.gif graphic is clicked.
<a href="school.htm" src="school.gif" alt="school"> </a>
<a href="school.htm"><img src="school.gif" alt="school"> </a>
<img src="school.gif" href="school.htm" alt="school">
none of the above
Choose the attribute used to provide accessibility by configuring a text alternative that is available to browsers and other user agents that do not support graphics.
alt
text
src
none of the above
The tag used to create a horizontal line on a web page is:
<hl>
<br>
<hr>
<line>
The ______ is the area between the content and the margin.
border
spacing
padding
none of the above
Use the ______________ property to configure rounded corners with CSS.
border-round
border-radius
box-shadow
background-corner
The CSS3 ______ property configures the transparency of an element.
opacity
transparency
background-opacity
opacity-background
To apply a style to one or more elements on a web page, configure a CSS __________.
group
id
class
None of the above
Choose the example below that configures a comment in CSS.
<! comment !>
// comment //
/* comment */
<< comment >>
The ________ attribute of the anchor tag can cause the new web page to open in its own browser window.
target
window
id
href
To define the distance between the edges of each cell in a table use the _____ attribute.
cellpad
cellpadding
cellspacing
cellborder
To define the distance between the cell text and the cell border in a table, use the ____ attribute.
cellpad
cellpadding
cellspacing
cellborder
Use the ____ tag pair to begin and end a table row.
<td> </td>
<tr> </tr>
<table> </table>
none of the above
Use the ____ tag pair to configure table headings.
<td> </td>
<th> </th>
<head> </head>
none of the above
An HTML table is comprised of ____ and ______.
lines and text
headers and body
rows and columns
none of the above
Select the statement below that is true about forms.
The <form> tag is optional
It is recommended to use mailto: as the action on a form since that is the easiest for the web developer
A form can be used to pass information to a program or script on the web server
none of the above is true
Select the HTML tag below that configures a button that, when clicked, will automatically reset form fields to their default values.
<input type="reset">
<button type="reset">Reset</button>
<input type="button" value=“Reset” >
both a and b
Select the form control below that would be appropriate to accept comments about your web site.
select list
text box
scrolling text box
None of the above
Select the type of form control that disguises the characters that are typed.
text
password
encrypt
textbox
Select the form control from the choices below that may be used to submit a form.
<input type="submit" >
<submit></submit>
<input type="button" value="submit" >
<select option="submit" >
The purpose of the __________ is to configure a label for a
<label>
<p>
<form>
<legend>
