HTML formatting Flashcards
b /b or strong /strong
Either inline tag will make content bold.
Less flexible <span></span>
del /del or s /s
Strikethrough
sub /sub || sup /sup
Subscript || Superscript
bdi /bdi
isolates text that might be formatted unexpectedly in other languages/browsers
em /em or i /i or cite /cite or var /var
Will make text italics
ins /ins or u /u
Underlines the contained text
abbr /abbr
Creates an abbreviation
<abbr>cc</abbr>
dfn /dfn
Italicizes
Contains text that will be defined in the content
wbr /wbr
Sets a possible line break for the content, if the viewport width is too small
bdo /bdo
Overrides the text direction
Bi-directional override
dir=”” ltr | rtl
q /q
Adds inline quotations for the content
template /template
Contains hidden elements that can be revealed with JavaScript
kbd /kbd
Formats content as a keyboard input
mark /mark
Highlights contained content in yellow
samp /samp or code /code
Containers for samples of code