Chapter 4 Flashcards

1
Q

HTML tags must be

A

lowercase

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Space inserted to make a document more readable is called

A

white space

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The <p> </p> tags indicate the beginning and end of a

A

paragraph

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The attribute specifying a blue background is

A

style=”background-color:blue”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The ../ notation in a relative path of hypertext reference means to

A

open the parent folder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

A

<img></img>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The dimensions for an image on a web page

A

are set using the width and height attributes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Betsy created some nested tags as displayed here: <p><b><i>Rock On!</i></b></p>. Did she nest the tags appropriately?

A

Yes, the tags are nested correctly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What tags are required for an HTML page?

A

html, head, body

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

If you want to display an image without any text around it, you should nest it inside of which tag(s)?

A

<p>
</p>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The _____ tag is a way to get more than one consecutive space in a line of a web page.

A

<pre>
</pre>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

_____ tags are tags between other tags.

A

nested

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Specifications inside a tag are called

A

attributes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The src in an image tag stands for

A

source

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

To put the 10 greatest inventions of all time, in order, on a web page, you should use a(n)

A

ordered list <ol></ol>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

____ is the main language that defines how a web page should look.

A

Hypertext Markup Langauge version 5 (HTLML)

17
Q

_____ is the tag for the heading that is the largest and the darkest.

A

<h1>Heading</h1>

18
Q

HTML ____ white space

A

ignores

19
Q

_____separates the content from the border.

A

padding

20
Q

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.

A

To learn how it is structured for flexible display. For concept understanding.

21
Q

How can you check if your HTML and CSS files display correctly? How often should you check? Why?

A

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.

22
Q

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>.

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.

23
Q

Explain in detail what problems Cascading Style Sheets (CSS) solve.

A

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.

24
Q

What does “the closest specification wins” mean? Give a detailed example in your answer.

A

The style information closest to the text will be used; the style of a page overrides the style of an external file

25
Q

Why is it a bad idea to write an entire HTML document before loading it in a web browser?

A

Large blocks of untested coding usually contain many errors that are hard to find