Fundamentals of HTML and CSS Flashcards

1
Q

What is a dynamic web page?

A

Dynamic web content is built when the page is requested (by the user directly or programmatically while the user is on the page

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

What is a static web page?

A

Static website pages are self-contained individual pages (or pages) sent to the browser from the server one-page-at-a-time

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

Is Facebook updates Dynamic or Static web pages?

A

Dynamic

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

What is the behavior of a web page?

A

Javascript. Because it is the inner workings of the webpage

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

What is the Presentation of a web page?

A

CSS and Imagery. Because it is how the web page looks.

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

What is the Structure of a web page?

A

HTML markup and Site planning. Because it is the foundations of the website.

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

What does HTML stand for?

A

HyperText Markup Language.

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

In Markup Language, what is the tag set used for?

A

Tag is used to group and describe content.

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

what is the syntax for a tag in Markup language?

A

< tag > Content < /tag >

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

In HTML list, IN ORDER, the 3 primary structure tags?

A

< html > < /html >
< head > < /head >
< body > < /body >

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

In HTML, what are the 3 main head elements?

A

< title > < /title >
< meta > < /meta >
< link > < /link >

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

in HTML, what does this structural element mean? <p></p>

A

paragraph

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

in HTML, what does this structural element mean? <h4></h4>

A

header 4, also the 4th larges heading.

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

Are attribute values case-sensitive?

A

yes

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

Basic syntax for HTML tags and attributes is:

a. < tag attribute=value > < /tag >
b. < tag attribute=value > < tag >
c. < tag attribute="value" > < tag >
d. < tag attribute="value" > < /tag >
A

d. < tag attribute=”value” > < /tag >

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

Choose the correct HTML tag for the largest heading

a. < head >
b. < heading >
c. < h6 >
d. < h1 >

A

d. < h1 >

17
Q

What is the correct HTML tag for inserting a line break?

a. < lb >
b. < break >
c. < br >
A

c. <br></br>

18
Q

What is Stylesheet?

A
  • Rules defining presentation

- Targetted to specific elements/tags in the HTML

19
Q

what is Cascade?

A
  • Manages priorities and conflicts
  • Multiple CSS rules
  • Importances and inheritance
20
Q

Do elements inherit aspects from their parents?

A

Yes.

21
Q

CSS Control, Three terms for describing style:

A
  • CSS Rules
  • CSS Selectors
  • CSS Declaration
22
Q

Name 3 CSS selectors

A
  • Type (tag / element)
  • # ID
  • .Class
23
Q

Which is better? ID or Class?

A

ID. Because there can only be at least one ID whereas there can be multiple elements inside one class.

24
Q

Which style is this?

a. Inline style
b. External style sheet
c. External style stylist sheet
d. None of the above
A

a. Inline style

25
Q

The ___ property is used to set the color of the text.

a. pallet
b. color
c. text-decoration
d. design
A

b. color

26
Q

What does the following html/css code output?

< html >
< head >
< style type=”text/css” > p {font-size:32px;}
< /head >
< body >
This line displayed in default font size
< p >Line formatted with element selector< /p >
< /body >
< /html >

A

Displays Nothing

  • Missing closing tag