HTML5 Flashcards

1
Q

Which two elements are for marking up superscript and subscript?

A

and

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

What is the correct HTML for making a text area?

A

The tag

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

Which structural element defines the bottom of a webpage and includes often site copyright, owner, contact info?

A

The

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

Why is the role of the doctype declaration?

A

To inform the browser about the HTML version being used in order to correctly interpret and render the markup.

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

What is the role of JavaScript in the web trifecta?

A

JavaScript allows the control of the behaviour of the website.

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

What are the four typical attributes for the element?

A
  1. Height
  2. Width
  3. Autoplay (play on page load)
  4. Controls (play, pause, volume, etc.)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What streaming, digital multimedia format is used to store video, audio, subtitles, and still images?

A

mp4

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

Which type of error is parsed by the browser and will still render?

A

Syntax errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
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
10
Q

What defines the file type, such as text or video, and the extension, such as css or mp4, for a browser or user agent?

A

Multipurpose Internet Mail Extensions (MIME)

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

What is the child element of a element?

A

The element, the location of the video file.

Type= may be:

  • mp4
  • Ogg
  • QuickTime
  • WebM
  • MPEG
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the role of HTML in the web trifecta?

A

HTML creates the actual elements on a web page that can be assigned style and behaviour.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
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
14
Q

What is an open-sourced audio and video format used for streaming digital multimedia?

A

Ogg.

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

What is the role of CSS in the web trifecta?

A

CSS allows the manipulation of how HTML elements appear.

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

What is a user agent?

A

What the W3C calls any application, such as browser or help engine, that renders HTML for display to users.

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

What file type provides a standard format for sound files on Windows-based computers?

A

WAV

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

Which attribute tells the player to restart a video as soon as it ends?

A

The loop attribute.

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

Which version of HTML incorporates the strict syntax rules of XML with the existing set of HTML 4.01 tags to create web documents?

A

XHTML

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

Which error describes improperly written code that does not accomplish what you intend for it to do?

A

Logic error.

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

Which attribute tells the player to display a static image on the video element while the video downloads or before the user selects play?

A

The poster attribute.

22
Q

How do you open a link in a new tab / browser window?

A

Like so: “<a></a>”

23
Q

Which structural element can group other elements or define portions or areas of the document as necessary?

A

The

24
Q

What is the purpose of code validation?

A

Checking whether code is compliant to W3C standards.

25
Q

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

A

The element

26
Q

Which version of HTML had three distinct variants that ensured that you could still use the specification and still remain backward-compatible with older browsers?

A

HTML 4.01

27
Q

What is an open-source media file format designed to stream video on the web?

A

WebM

28
Q

Which structural element defines site content accompanying main content, specifying independent, self-contained content?

A
Forum posts
Company services
News articles
Blogs
Images
Videos
Tweets
Social networking
29
Q

What video codec is supported by HTML5-compliant browsers, does not require a plugin, and uses less battery and processing resources?

A

H.264

30
Q

Why is it important to validate your code and correct all errors?

A

Better chance of pages rendering as you expect a larger audience.

31
Q

What displays a webpage within a webpage?

A

iFrame

32
Q

What is the correct HTML for making a text input field?

A

The

33
Q

Which error describes spelling mistakes in code that will cause it not to work as expected?

A

Syntax error.

34
Q

What is the significance of HTML5?

A

Newest version, 2014. Create fully scalable pages without the need for third party software.

35
Q

Which structural element defines the main content of the document body?

A

The

36
Q

What is responsive design?

A

Design technique that allows for pages to reformat dynamically based on the size of the browser or the screen resolution.

37
Q

What file type provides a standard format for music files sent over the internet?

A

mp3

38
Q

Which HTML element defines emphasized text?

A

<em></em>

39
Q

Which HTML element defines important text?

A

<strong></strong>

40
Q

What is the correct HTML for making a checkbox?

A

Like so: “

41
Q

Which element allows for subtitling of videos?

A

The element.

E.g.:

42
Q

What are structure-based tags?

A

HTML5 innovation meaning tags specifically designating their purpose relative to other elements (e.g., ).

43
Q

Which structural element defines content aside from or additional to main article content?

A

Advertisements
News feeds
Highlighted resource links

44
Q

Which structural element defines the area for navigational links?

A

The

45
Q

Which HTML global attribute specifies whether the content of an element should be editable or not?

A

“contenteditable”

46
Q

What is the correct HTML for making a dropdown list?

A

The element with tags inside the element

47
Q

What is the child element of and which three formats does it accept?

A

The element accepting mp3, WAV, and Ogg.

E.g.:

48
Q

Which HTML element defines the title of a document?

A

The tag

49
Q

In HTML, onblur and unfocus are:

A

Event attributes

50
Q

Which structural element defines the top of the webpage?

A

The