HTML5 Inline Elements Flashcards
Inline Elements
Text level semantic elements
a
Anchor (hypertext link)
abbr
<abbr>ATF</abbr>
Abbreviation
b
Add visual attention (bold)
bdi
Text may be bidirectional (HTML5)
bdo
Force text direction (ltr left to right/rtl right to left)
br
Empty element.<br></br> in XHTML.
Line break
cite
<p>Passages of this article were inspired by <cite>The Complete Manual
of Typography</cite> by James Felici.</p>
Reference to the title of a work (citation)
code
Source code sample
data
data value=”12” Twelve /data
data value=”2011-11-12” Last Saturday /data
The value attribute contains the machine readable data
Machine readable measurable data (WHATWG)
del
del title=”retired” Peter Pan /del
May contain inline and block elements
Deleted text, indicates an edit made to a document
dfn
p dfn Script typefaces /dfn are based on handwriting. /p
First or defining instance of a term
em
Emphasized text. Used to draw attention to part of a sentence changing the meaning.
i
Alternative voice or mood from the surrounding sentence. Foreign word or technical term.
ins
ins Pippi Longstockings /ins
May contain inline and block elements
Text that has been added. Indicates an edit to the document.