Test2-4, 6, 7, 8 Flashcards

0
Q

Select the item below that lists elements used in an HTML table:

a) table, tr, tt
b) table, head, tfoot
c) table, tr, td
d) thread, body, tr

A

c) table, tr, td

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

Use the ______ tag pair to begin and end a table row.

a)
b)
c)
d) none of the above

A

b)

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

The _____ pseudo-class configures the styles that will apply when the mouse is on a hyperlink.

a) hover
b) click
c) active
d) over

A

a) hover

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

Which of the following CSS3 properties configure the alignment of text within a table?

a) caption
b) text-align
c) border-spacing
d) align

A

b) text-align

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

Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table?

a) :last-row
b) this cannot be done with CSS
c) :tfoot
d) :last-of-type

A

d) :last-of-type

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

The default value for the border property for an element is:

a) 3px
b) 0px
c) 10px
d) 1 px

A

b) 0px

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

_____ will cause an object not to display.

a) display: hide;
b) display: block;
c) display: 0px;
d) display: none;

A

d) display: none;

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

WHich of the following CSS3 pseudo-elements will be useful when configuring every other row of a table?

a) :every-other-type
b) this cannot be done with css
c) :last-of-type
d) :nth-of-type(n)

A

d) :nth-of-type

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

Set list-style-type to the value ______ to hide the display of the list markers on an ordered list.

a) nodisplay
b) hide
c) invisible
d) none

A

d) none

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

The ____ HTML5 element is used to configure the top logo area on a web page.

a) navigation
b) head
c) header
d) nav

A

c) header

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

Use the ____ attribute on a element to associate it with a table heading cell.

a) heading
b) title
c) headers
d) th

A

c) headers

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

Use the _____ tag pair to configure table headings.

a)
b)
c)
d) none of these

A

b)

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

Which pseudo-element can be used to generate content that precedes an element?

a) :content
b) :before
c) :after
d) :first-line

A

b) :before

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
Use the \_\_\_\_\_ tag pair to configure a table footer row group.
a)  
b)  
c)  
d)
A

b)

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

______ flow displays the elements on the page in the order they appear in the web page source code.

a) browser
b) source code
c) default
d) normal

A

d) normal

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

A table with a width set to 600 pixels will look ______ on a monitor with resolution set to 640X480 than on a monitor with resolution set to 1024 x 768.

a) the same
b) more distorted
c) larger
d) smaller

A

c) larger

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

Which of the following CSS3 properties position the caption of a table?

a) summary
b) caption
c) caption-side
d) thread

A

b) caption

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

Choose the example below of a descendent of a descendent selector that configures the anchor tags with a div assigned to the navigation id.

a) navigation#div a
b) a#navigation div
c) div.navigation a
d) div#navigation a

A

)

18
Q

The _______ is the area between the content and the border.

a) border
b) spacing
c) padding
d) none of these

A

c) padding

19
Q

To apply a style to one or more elements on a web page, configure a CSS ______

a) group
b) id
c) class
d) none of these

A

)

20
Q

Choose the item below that is not an HTML5 element.

a) footer
b) wrapper
c) figcaption
d) article

A

b) wrapper

21
Q

An HTML table is comprised of ____ and ______.

a) lines and text
b) headers and body
c) rows and columns
d) none of these

A

c) rows and columns

22
Q

Is the following HTML code valid?

a) No, there is no border attribute
b) No, the same value cannot be provided for both cellspacing and cellpadding
c) Yes
d) No, table width cannot be set to a percentage value

A

c) Yes

23
Q

Use the ____ property in the HTML link tag to associate a web page with a style sheet for printing

a) media=”screen”
b) media=”paper”
c) out=”printer”
d) media=”print”

A

d) media=”print”

24
Q

The ____ meta tag configures scale and dimension on mobile web page display.

A

viewport

25
Q

How would you define a fragment identifier at the top of a page, called “top”?

A

<div>
</div>

26
Q

From the choices below, select the correct order to code CSS pseudo-classes.

a) hover, link, active, visited
b) link, hover, visited, active
c) link, hover, active, visited
d) link, visited, hover active

A

d) link, visited, hover, active

27
Q

Use the _____ property to configure an image to use as a bullet point in an unordered list.

a) image-style
b) bullet-style-image
c) bullet-image
d) list-style-image

A

d) list-style-image

28
Q

The _____ HTML5 element is used to configure the main navigation area on a web page

a) nav
b) command
c) navigation
d) header

A

a) nav

29
Q

The css vertical-align property can be used to configure the vertical alignment of the contents of a table cell.
TRUE or FALSE?

A

true

30
Q

A ______ determines the capability of the mobile device, such as screen resolution, and directs browsers to CSS

a) viewport
b) media query
c) fragment identifier
d) sprite

A

b) media query

31
Q

Use the ____ or _____ property to clear a float.

a) float or clear
b) overflow or float
c) position or clear
d) clear or overflow

A

d) clear or overflow

32
Q

When do you need to use a fully qualified URL in a hyperlink?

A

when linking to a page on an external web site

33
Q

It is possible to use CSS to configure page breaks in a printed web page.
TRUE or FALSE?

A

true

34
Q

Which of the following configures a margin for an element with the following values: all margins–> top 30px, left 150px, right 0, bottom 0?

a) margin: 150px 20px 0 300px
b) margin: top-30, left-150, right-0, bottom-0;
c) margin: 30px 0 0 150px;
d) none of these

A

c) 30px 0 0 150px

35
Q

Use the headers attribute on the ____ tag to correspond to the id attribute on a ___ tag.

a) or
b)
c) or
d) or <thead

A

b)

36
Q

To configure the table cells to share a common border and eliminate the default space between table cells configure_____.

a) border-collapse: collaps;
b) border-collaps: all;
c) border: none;
d) border: collapse;

A

a) border-collapse: collapse;

37
Q

A benefit of using the CSS Sprites technique to to decrease the number of HTTP request calls to the web server.
TRUE or FALSE?

A

True

38
Q

The _____ attribute of the anchor tag can cause the new web page to open in its own browser window.

a) id
b) href
c) target
d) window

A

c) target

39
Q

Select the example below that configures a container to clear all floated elements that are within the container.

a) overflow: all;
b) overflow: auto;
c) clear: both;
d) clear: all;

A

c) overflow: auto;

40
Q

Use an id to configure a style when:

a) the style could apply to more than one element on a page
b) the style will apply to only one element on a page
c) the style is used for all elements on a page
d) none of these

A

b) the style will apply to only one element on a page

41
Q

To define the distance between the cell text and the cell border in a table, use the ______ attribute.

a) cellpadding
b) cellspacing
c) cellborder
d) cellpad

A

a) cellpadding

42
Q

What is the purpose of the : content pseudo-elemnet?

a) to configure mobile display only
b) to display a pop-up window
c) to configure the text size of the entire web page document
d) to generate content that is added to the web page document

A

d) to generate content that is added to the web page document

43
Q

____ will configure a class called blog to stack on top of other elements that have a z-index of 3?

a) #blog(z-index:high);
b) .blog (z-index:4);
c) .blog (z-index:2);
d) none of these

A

b) .blog (z-index:4);