Mid-Term Flashcards

(23 cards)

1
Q

Which HTML5 element is used to specify a footer for a document or section?

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

Which elements are no longer supported in HTML5?

A

<acronym></acronym>

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

In HTML5, onblur and onfocus are:

A

Event attributes

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

Which is the correct HTML5 element for playing video files?

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

Which is the correct HTML5 element for playing audio files?

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

Which attribute for elements is no longer required in HTML5?

A

Type

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

In HTML5, which method is used to get the current location of the user?

A

getCurrentPosition()

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

The new HTML5 global attribute, “contenteditable” is used to:

A

Specify whether the content of an element should be editable or not

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

In HTML5, contextmenu and spellcheck are:

A

HTML attributes

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

T or F:

In HTML5, you can embed SVG elements directly into an HTML page.

A

True

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

Graphics defined by SVG is in which format?

A

XML

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

The element in HTML5 is used to:

A

Draw graphics

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

Which built-in HTML5 object is used to draw on the canvas?

A

getContext

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

In HTML5, which attribute is used to specify that an input field must be filled out?

A

required

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

Which input type defines a slider control?

A

Range

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

Which input type defines a week and year control (no time zone)?

17
Q

Which HTML5 element is used to display a scalar measurement within a known range?

18
Q

Which HTML5 element defines navigation links?

19
Q

T or F:

Browsers remove extra spaces when displaying an HTML file.

20
Q

In HTML5, what does the element define?

A

Content aside from the page content

21
Q

Which HTML5 element is used to specify a header for a document or section?

22
Q

Which HTML5 element defines an article?

23
Q

Which doctype is correct for HTML5?