exam review module 8 Flashcards

1
Q

style syntax

A

style=”property: value”

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

example of properties

A

font-weight

font-size

<b>bold</b> word and this is an <i>italic</i> word.
gives:
This is a bold word and this is an italic word.

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

<span> tag </span>

A

used to stylize text within a sentence.

created to help style web pages.

for elements that flow horizontally

This is some <span>text within a span</span> inside of a sentence.

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

<div> </div>

A

stacked vertically

more flexible than a paragraph because you can nest a <div> inside of another <div>

can contain non textual elements such as images or tables

can contain margin properties - as shown above - left, right, bottom, top

</div></div>

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

classes and cascading style sheets

A

Young children should always <span>look both ways</span> before crossing the street, and only proceed if they are <span>holding hands</span> with an adult.

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

HTML style classes

A

used to reduce tediousness of styles

inside of the tag, style classes can be defined

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