Advanced HTML Flashcards

1
Q

HTML5 tag used to make dates and times super-semantically rich.

A

time tag with the datetime attribute

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

Text can be highlighted using _______?

A

mark

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

hr

A

thematic break

previously horizontal rule

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

small

A

small print

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

s

A

no longer correct

previously strikethrough

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

u

A

unarticulated

previously underline

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

i

A

alternate voice

previously italics

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

b

A

attention is being drawn

previously bold

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

sub and sup

A

subscript and superscript

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

A filthy hack that allows you to target HTML solely at versions of Microsoft’s Internet Explorer browser

A

Conditional Comments

They are just normal are just simple HTML comments that IE (up to version 9) look for.

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

These tags allow you to define the table columns and style them as desired.

A

colgroup and col

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

The caption tag

A

Add a caption to a table

caption-side: bottom will move the caption to the bottom

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

What tags will allow you to separate the table into header, footer and body?

A

thead, tfoot and tbody

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

tabindex

A

Users who do not or cannot use pointing devices can tab through links and tabindex let’s you set a logical tabbing order.

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

If you have a link that isn’t self-descriptive, or the link destination could benefit from being explained in more detail, you can add information to a link using the ________ attribute.

A

title

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

How can you assign a keyboard shortcut to a link?

A

Access keys

The user presses “Alt” or “Ctrl” + the access key

17
Q

What tags add accessibility for forms?

A
  1. ) Labels
  2. ) Fieldset and Legends
  3. ) Option groups
18
Q

What does autofocus do?

A

Sets focus to a certain form field on page load.

19
Q

This will embed a video, complete with controls

A

video src=”video.mp4” controls

20
Q

poster=”pic.jpg”

A

You can specify a placeholder image, which will be displayed before the video is played, with the poster attribute.

21
Q

How to embed audio

A

audio src=”audio.mp3” controls

22
Q

JavaScript can be used to paint all manner of dynamic images such as graphs, animated sprites on _______.

A

Canvas