WDD - Implementation Flashcards

1
Q

what is CSS used to define

A

how HTML elements should be displayed

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

each CSS is made up of

A

a selector followed by a declaration block in brackets

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

CSS uses

A

color

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

a class selector can be used to

A

style multiple elements on a web page

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

.

A

class selector

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

an ID selector can be used

A

to style one element different

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

#

A

ID

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

Internal CSS is

A

included within the <style> element within the head section of a web page, and its rules can be applied to that page</style>

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

Advantages of internal CSS

A

easier to work with

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

Disadvantages of internal CSS

A

CSS rules only apply to a single page

A site with multiple pages would need any CSS changes to be made on each page

Can cause slower load times because CSS rules need to be downloaded for each individual page

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

External CSS

A

is stored in a separate external stylesheet

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

how to write external css

A

<head>
<link></link>
</head>

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

Advantages of external CSS

A

CSS rules can be applied to multiple pages across a website

Changes to CSS styles need only be made once and will be applied to all link pages

Can improve load times because the CSS file need only be downloaded once

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

Disadvantages of external CSS

A

external CSS file xan become quite large and the entire file needs to be downloaded before viewing a single page

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

The structure of HTML web page

A

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

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

how many headings does HTML have

A

6

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

16
Q

The <p> tag

A

defines a paragraph

17
Q

The <div> tag is used to

A

define a division or a section in an HTML document

18
Q

Internal hyperlink

A

links to a different page within the same website or to a different section on the same page

18
Q

external hyperlink

A

links to a page on a different website

19
Q

Tthe <img></img> tag

A

is used to add an image to a web page

19
Q

The audio element

A

embeds audio in a web page
controls: adds audio controls

20
Q

The video element

A

embeds video in a web page

21
Q

An ordered list

A

displays each list itemm after an item number

22
Q

An unordered list

A

displays each list iteam after a bullet point

23
Q

<ol>
</ol>

A

ordered list

24
Q

<ul>
</ul>

A

unordered list

25
Q

relative address

A

is the path to a file starting from the current loaction

26
Q

Absolute links

A

An absolute address is the full path to a file

27
Q

onmouseover occurs when the user

A

mobes the mouse pointer over an element

28
Q

onmouseout occurs when the user moves

A

the mouse pointer off an element