CSC365 Test 1
Use the _____ element to code embedded styles on a web page.
<style>...</style>
Use _______ element to indicate column or row headings.
<th>
Which of the following programs is not an image editor?
Adobe Dreamweaver
Which of the following is true about inline styles?
An inline style only affects the element it is defined within and will override other styles for that element's property.
Which of the following should you do to provide accessibility to img elements with useful content?
Code an alt attribute that describes the image.
When you create an image map for an image element, you use
HTML to specify the map and area elements for the img element
When CSS is coded in the body of the web page as an attribute of an HTML tag it is called _____.
Inline
What else is true about using a Markup Validation Service?
It will correct any HTML syntax errors
Image format that supports millions of colors and transparency
PNG
Which of the following is true about image formats?
The GIF image format supports transparent backgrounds, but can only display a maximum of 256 colors; therefore, they should not be used for photos on the web.
When a web page contains both a link to an external stylesheet and embedded styles, which of the following is true?
The external styles will be applied first, then the embedded styles will be applied.
A table contains five columns where one of the cells in a row spans three columns. Identify the number of table cells that will exist in that row.
Three
When do you need to use a fully qualified, absolute URL in a hyperlink?
When linking to a page on an external web site.
A valid HTML document requires
a head element and a body element
Within a CSS rule set, a declaration (rule), includes
a property and a value
When using a Markup Validation Service,
a single coding error can cause multiple validation errors
What character entity is created by the character?
a space
Which of the following is NOT one of the ways that you can specify a color in CSS?
color: getColor("red");
The smallest heading element is _______.
h6
The <a> element that follows goes to a web page... <a href="books/javscript.html">JavaScript and DOM Scripting</a>
in a folder that is subordinate to the current page
In HTML, a numbered list is referred to as a/an _______________________ list.
ordered
Which of the following is NOT a sectioning element?
p
The box model consists of a content area surrounded by:
padding, border, and margin
Using tables for ____________ is not recommended because the HTML markup is not semantically correct.
page layout
In the following CSS code, em is the ____________. em { color: red; }
selector
Which of the following image types can be enlarged without any loss of quality?
vector
The location of CSS style rules can be (choose the best answer)
you can combine all three
To add the comment, Welcome John Smith, the syntax would be _____.
<!--Welcome John Smith -->
Data cells that do not function as headers for table rows or columns are marked using the _____ element.
td
Identify the three row groups supported by HTML.
thead, tbody, and tfoot
Use the _____ element to associate a web page with an External Style Sheet.
<link>
The syntax for CSS comments looks like:
/* comments go here */
The purpose of the _______ element is to provide a title and briefly describe the contents.
<caption>
Which of the following HTML elements is used to create a table title?
<caption>
Which of the following units of measurement is equal to the font size for the current font?
an em
If you want to style multiple web pages on a web site in the same way, it is best to use:
an external stylesheet
When you create an image map, you use an area element to define each hotspot along with
an href attribute that identifies the page that the hotspot links to
The img element that follows gets the image file from the images folder, which is <p><img src="x" alt="Murach Logo"></p>
at the same level as the current folder
The img element that follows <p><img src="../images/logo.gif" alt="Murach Logo"></p>
displays "Murach Logo" if the image can't be found
The <a> element that follows <a href="update.html">Update</a>
displays "Update" as a link
You should use the ______________ element to identify a section of a web page only when the HTML5 semantic elements don't apply.
div
The dd and dt elements are nested within what other element?
dl
By default, the <br> tag
starts a new line of text
Select the item below that lists elements used in an HTML table:
table, tr, td
The title element in the head section of an HTML document specifies the text
that's displayed in the title bar of the browser
What is the purpose of colspan in <td colspan="7">?
It sets each cell to span seven columns within its row.
Identify a true statement to determine the number of columns in a web table.
The number of columns is the number of cells within the table rows.