WCU CSW 131 Ch3
Three inline elements are
<q>, <a>, and img
(Refer to example 3-1) When this HTML code is rendered in a browser, what is the first link that will be displayed?
Jeffrey Toobin
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
When the code that follows is loaded into the browser, <h2>About this book</h2>
displays "About this book" in the default h2 format
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
For SEO, the title element in the head section of an HTML document
should include one or two focus keywords for ranking the page
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
The div element should only be used
when the semantic elements don't apply
Example 3-1: The code for a list <nav> <ul> <li>October: <a href="speakers/toobin.html"> Jeffrey Toobin</a></li> <li>November: <a href="speakers/sorkin.html"> Andrew Ross Sorkin</a></li> </ul> </nav> (Refer to example 3-1) When the list is displayed in a browser, the list items
will be preceded by bullets
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
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
By default, which type of element is displayed on a new line?
block elements