CIS 332 FINAL Chapter 3
Three inline elements are
<q>, <a>, and img
The img element that follows gets the image file from the images folder, which is <p><img src="../images/logo.gif" alt="Murach Logo"></p>
at the same level as the current folder
The id attribute
can be applied to only one element in an HTML document
The class attribute
can be used by CSS to apply the same formatting to more than one HTML element
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
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
When the code that follows is loaded into the browser, <h2>About this book</h2>
it displays "About this book" in the default h2 format
A document-relative path in the reference for a link or image element is
relative to the folder for the current document
For SEO, the title element in the head section of an HTML document
should include one or two focus keywords for ranking the page
A meta element in the head section of an HTML document
should include up to 10 keywords or phrases
By default, the <br> tag
starts a new line of text
The title element in the head section of an HTML document specifies the text
that's displayed in the browser's tab for the page
Instead of using span elements to identify portions of text for formatting, you should
use HTML5 elements to identify the portions and CSS to format them
The div element should only be used
when the semantic elements don't apply
Which of the following should you do to provide accessibility to img elements with useful content?
Code an alt attribute that describes the image.
What character entity is created by the character?
a space
In HTML, a numbered list is coded with
an ol element that contains li elements
By default, which type of element is displayed on a new line?
block elements
The portion of a web page that displays the most important content should be coded as an HTML5
body element