Html/CSS Flashcards

(55 cards)

1
Q

What is an attribute?

A

A characteristic of description for some content in the element. Example: style, src, href

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

What is the syntax for changing the color of text

A

style =”color: green”

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

What do you use to separate more than one thing in your attribute (for example, size and color)

A

A semi colon

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

What is the syntax for changing the font family?

A

style = “font-family: Arial”

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

What is the correct syntax for changing font size

A

style =”font-size: 12px

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

table data

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

table row

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

table

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

table body

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

table header

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

table head data

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

colspan=” “

A

attribute telling how many columns to span the data over. (Example a title that needs to go over 2,3, etc columns

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

<div> </div>

A

divides your page into different “containers” you can then style (A block level container with no semantic meaning)

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

<span> </span>

A

allows you to control and style individual pieces such as text

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

How do you write a hidden comment in your HTML?

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

What is the correct syntax for a creating a link?

A

<a>Link text</a>

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

table data

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

table row

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

table

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

table body

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

table header

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

table head data

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

colspan=” “

A

attribute telling how many columns to span the data over. (Example a title that needs to go over 2,3, etc columns

24
Q

<div> </div>

A

divides your page into different “containers” you can then style (A block level container with no semantic meaning)

25
allows you to control and style individual pieces such as text
26
How do you write a hidden comment in your HTML?
27
What is the correct syntax for a creating a link?
28
What is the correct syntax for adding an image?
29
Explain the syntax elements for an un-ordered list containing 3 items.
```
  • Dish soap
  • Kitty litter
  • Tomato sauce
```
30
Explain the syntax elements for an ordered list containing 3 items.
```
  1. First item!
  2. Second item!
  3. Last item!
```
31
emphasis (basically italicizes - but semantically it emphasizes)
32
strong (basically it bolds the word but semantically it gives it "strong emphasis"
33
CSS
Cascading style sheets
34
How do you link to a css file?
35
What is the syntax for adding something with CSS?
selector { property: value; }
36
How do you write a hidden commend in CSS?
/*I am a comment*/
37
What does hexidecimal values mean?
Counting is base-16. Uses numbers 0-9 and letters A-F
38
Hex values begin with a _______ can be up to ______ digits and are case (sensitive or insensitive?)
, 6 , insensitive
39
What is the pixel abbreviation?
px
40
What does em mean with no brackets around it?
A unit of measuring font size. Multiplies or shrinks to fit whatever size screen the user is using.
41
The HTML Base Element () specifies the base URL to use for all relative URLs contained within a document. There can be only one element in a document.
42
The HTML Head Element () provides general information (metadata) about the document, including its title and links to or definitions of scripts and style sheets
43
The HTML Link Element () specifies relationships between the current document and an external resource. Possible uses for this element include defining a relational framework for navigation. This Element is most used to link to style sheets.
44
The HTML Meta Element () represents any metadata information that cannot be represented by one of the other HTML meta-related elements (, , ,