HTML & CSS Flashcards

1
Q

strong

A

Visibly changes the wrapped text to be bold. Text will have a stronger importance than the surrounding text. Example: You must remember to turn the light off.

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

em

A

Visibly changes the wrapped text to be italicized. Demonstrates what part of the sentence is to receive emphasis. Example: What are you doing here?

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

b

A

Visibly changes the wrapped text to be bold. Does not affect the meaning of the content as the strong element does.

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

i

A

Visibly changes the wrapped text to be italicized. Does not affect the meaning of the content as the em element does.

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

sub

A

Adjusts the position of the text to be lower than the text around it. Short for subscript. Example: Carbon dioxide has a chemical formula of CO2

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

sup

A

Adjusts the position of the text to be higher than the text around it. Short for superscript. Example: Multiply your result by 103

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

div

A

container

div elements are block elements by default

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

span

A

container

span elements are inline by default.

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

>

A

specify document type

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

title

A

title

displays the info at the top bar of the page

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

body

A

body

all visible content will fall within the body

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

head

A

head
contains all metadata
& title

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

meta

A

the meta element contains any data about our page that may be nice for the browser to have, but isn’t necessary for displaying the page.

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

p

A

paragraph

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

h1-h6

A

heading tags

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

what are the required elements of a page

A

!DOCTYPE html
html
head
body