Chapter 4 Flashcards
HTML tags must be
lowercase
Space inserted to make a document more readable is called
white space
The <p> </p> tags indicate the beginning and end of a
paragraph
The attribute specifying a blue background is
style=”background-color:blue”
The ../ notation in a relative path of hypertext reference means to
open the parent folder
To place an image on the right side of the window with the text filling the area to the left of the image, the tag would need to look like
<img></img>
The dimensions for an image on a web page
are set using the width and height attributes
Betsy created some nested tags as displayed here: <p><b><i>Rock On!</i></b></p>. Did she nest the tags appropriately?
Yes, the tags are nested correctly
What tags are required for an HTML page?
html, head, body
If you want to display an image without any text around it, you should nest it inside of which tag(s)?
<p>
</p>
The _____ tag is a way to get more than one consecutive space in a line of a web page.
<pre>
</pre>
_____ tags are tags between other tags.
nested
Specifications inside a tag are called
attributes
The src in an image tag stands for
source
To put the 10 greatest inventions of all time, in order, on a web page, you should use a(n)
ordered list <ol></ol>
____ is the main language that defines how a web page should look.
Hypertext Markup Langauge version 5 (HTLML)
_____ is the tag for the heading that is the largest and the darkest.
<h1>Heading</h1>
HTML ____ white space
ignores
_____separates the content from the border.
padding
Explain why you should learn HTML if authoring tools will do the work for you. Give other examples of where you are expected to learn something when there are tools available that will do the work.
To learn how it is structured for flexible display. For concept understanding.
How can you check if your HTML and CSS files display correctly? How often should you check? Why?
You can check by putting the HTML in a validator to check the actual code or running the HTML to see what the page consists of. You should check for every new code you add to made sure that each part is correct.
Indicate the hyperlink reference and the anchor text in this anchor tag. Then break down the hyperlink reference into the protocol, domain, path, and file name. <a> National Air and Space Museum</a>.
The hyperlink is http://www.nasm.si.edu/museum/, the anchor text is National Air and Space Museum, the protocol is http://, the domain is www.nasm.si.edu, the path is /museum, and there is no file name given, which means it defaults to index.html.
Explain in detail what problems Cascading Style Sheets (CSS) solve.
When large websites added fonts and color information to every Web page, it became a long and expensive process. CSS was created to remove style formatting from an HTML page.
What does “the closest specification wins” mean? Give a detailed example in your answer.
The style information closest to the text will be used; the style of a page overrides the style of an external file