Phrase tags Flashcards
Emphasised text
<em>…</em>
Marked text (yellow highlight)
…
Strong text
<strong>…</strong>
Text abbreviation
<abbr>…</abbr>
Use with title attribute to give full description of the abbreviation on mouse-over.
Eg, <p>My friend’s name is <abbr>Kat</abbr>.</p>
Acronym element
<acronym>…<acronym></acronym></acronym>
Text direction
…
What does BDO stand for in …
Bi-Directional Override
Special terms element
<dfn>…</dfn>
(For HTML definition element.)
Typically use this the first time you introduce a special term on a page.
Quoting text
<blockquote>...</blockquote>
Will usually indent the left and right edges of the text.
Short quotations
…
Instead of using quotation marks.
Text citations
<cite>…</cite>
Computer code
<code>...</code>
Keyboard text (to tell a reader to enter some text)
<kbd>...</kbd>
Programming variables
<var>...</var>
Usually used in conjunction with <code> and <pre></pre></code>
Program output
<samp>...</samp>