Html/CSS Flashcards

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
Q

<span> </span>

A

allows you to control and style individual pieces such as text

26
Q

How do you write a hidden comment in your HTML?

A
27
Q

What is the correct syntax for a creating a link?

A

<a>Link text</a>

28
Q

What is the correct syntax for adding an image?

A

<img></img>

29
Q

Explain the syntax elements for an un-ordered list containing 3 items.

A
<ul>
  <li>Dish soap</li>
  <li>Kitty litter</li>
  <li>Tomato sauce</li>
</ul>
30
Q

Explain the syntax elements for an ordered list containing 3 items.

A
<ol>
  <li>First item!</li>
  <li>Second item!</li>
  <li>Last item!</li>
</ol>
31
Q

<em> </em>

A

emphasis (basically italicizes - but semantically it emphasizes)

32
Q

<strong> </strong>

A

strong (basically it bolds the word but semantically it gives it “strong emphasis”

33
Q

CSS

A

Cascading style sheets

34
Q

How do you link to a css file?

A
35
Q

What is the syntax for adding something with CSS?

A

selector {
property: value;
}

36
Q

How do you write a hidden commend in CSS?

A

/I am a comment/

37
Q

What does hexidecimal values mean?

A

Counting is base-16. Uses numbers 0-9 and letters A-F

38
Q

Hex values begin with a _______ can be up to ______ digits and are case (sensitive or insensitive?)

A

, 6 , insensitive

39
Q

What is the pixel abbreviation?

A

px

40
Q

What does em mean with no brackets around it?

A

A unit of measuring font size. Multiplies or shrinks to fit whatever size screen the user is using.

41
Q
A

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
Q
A

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
Q
A

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
Q
A

The HTML Meta Element () represents any metadata information that cannot be represented by one of the other HTML meta-related elements (, , , <style> or <title>).</title></style>

45
Q
A

The HTML Style Element () contains style information for a document, or part of a document. By default, the style instructions writen inside that element are expected to be CSS.

46
Q
A

The HTML Title Element () defines the title of the document, shown in a browser’s title bar or on the page’s tab. It can only contain text and any contained tags are not interpreted.

47
Q

<address></address>

A

The HTML Address Element (<address>) should be used by authors to supply contact information for its nearest or ancestor; in the latter case, it applies to the whole document.</address>

48
Q
A

The HTML Article Element () represents a self-contained composition in a document, page, application, or site, which is intended to be independently distributable or reusable, e.g., in syndication. This could be a forum post, a magazine or newspaper article, a blog entry, or any other independent item of content. Each should be identified, typically by including a heading (h1-h6 element) as a child of the element.

49
Q
A

The HTML Body Element () represents the content of an HTML document. There can be only one element in a document.

50
Q
A

The HTML Footer Element () represents a footer for its nearest sectioning content or sectioning root element. A footer typically contains information about the author of the section, copyright data or links to related documents.

51
Q
A

The HTML Element represents a group of introductory or navigational aids. It may contain some heading elements but also other elements like a logo, wrapped section’s header, a search form, and so on.

52
Q

<h1>, <h2>, <h3>, <h4>, <h5>, <h6></h6></h5></h4></h3></h2></h1>

A

Headings

53
Q
A

The HTML Element (HTML Headings Group Element) represents the heading of a section. It defines a single title that participates in the outline of the document as the heading of the implicit or explicit section that it belongs to.

54
Q
A

The HTML Navigation Element () represents a section of a page that links to other pages or to parts within the page: a section with navigation links.

55
Q
A

he HTML Section Element () represents a generic section of a document, i.e., a thematic grouping of content, typically with a heading. Each should be identified, typically by including a heading (<h1>-<h6> element) as a child of the element.</h6></h1>