HTML formatting Flashcards

1
Q

b /b or strong /strong

A

Either inline tag will make content bold.

Less flexible <span></span>

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

del /del or s /s

A

Strikethrough

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

sub /sub || sup /sup

A

Subscript || Superscript

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

bdi /bdi

A

isolates text that might be formatted unexpectedly in other languages/browsers

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

em /em or i /i or cite /cite or var /var

A

Will make text italics

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

ins /ins or u /u

A

Underlines the contained text

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

abbr /abbr

A

Creates an abbreviation

<abbr>cc</abbr>

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

dfn /dfn

A

Italicizes

Contains text that will be defined in the content

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

wbr /wbr

A

Sets a possible line break for the content, if the viewport width is too small

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

bdo /bdo

A

Overrides the text direction
Bi-directional override

dir=”” ltr | rtl

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

q /q

A

Adds inline quotations for the content

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

template /template

A

Contains hidden elements that can be revealed with JavaScript

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

kbd /kbd

A

Formats content as a keyboard input

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

mark /mark

A

Highlights contained content in yellow

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

samp /samp or code /code

A

Containers for samples of code

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

small /small

A

Reduces font size

17
Q

meter /meter

A

Makes a line gauge

18
Q

rp, rt, and ruby

A

Inline tags for ruby annotations, East-Asian typography

19
Q

Why are formatting tags rarely used?

A

HTML was never intended to be a formatting solution and CSS was developed.