Content
POSHDOC Content Markup
Catching Attention
- Emphasis
-
Makes words or phrases stand out from the text. Use the
em
element to emphasize text. - Strong Importance
-
Mark importance, seriousness or urgency. Use the
strong
element to mark important text. - Set off text
-
Technical terms, phrases in foreign languages or thoughts are marked up with the
i
element. - Bring text to attention
-
For otherwise not covered cases, text is brought to attention with the
b
element.
Common Text Annotations
Starting from here, text is not yet processed. It is a copy from the MDN web docs.
-
abbr
-
The HTML Abbreviation element represents an abbreviation or acronym; the optional title attribute can provide an expansion or description for the abbreviation.
-
cite
-
The HTML Citation element is used to describe a reference to a cited creative work, and must include the title of that work.
-
dfn
-
The HTML Definition element (dfn) is used to indicate the term being defined within the context of a definition phrase or sentence.
-
q
-
The HTML q element indicates that the enclosed text is a short inline quotation. Most modern browsers implement this by surrounding the text in quotation marks.
-
small
-
The HTML small element represents side-comments and small print, like copyright and legal text, independent of its styled presentation. By default, it renders text within it one font-size small, such as from small to x-small.
-
sub
-
The HTML Subscript element (sub) specifies inline text which should be displayed as subscript for solely typographical reasons.
-
sup
-
The HTML Superscript element (sup) specifies inline text which is to be displayed as superscript for solely typographical reasons.
-
var
-
The HTML Variable element (var) represents the name of a variable in a mathematical expression or a programming context.
-
time
-
The HTML time element represents a specific period in time.
-
u
-
The HTML Unarticulated Annotation Element (u) represents a span of inline text which should be rendered in a way that indicates that it has a non-textual annotation.
Marking Text
-
s
-
The HTML s element renders text with a strikethrough, or a line through it. Use the s element to represent things that are no longer relevant or no longer accurate.
However, s is not appropriate when indicating document edits; for that, use the del and ins elements, as appropriate.
-
mark
-
The HTML Mark Text element (mark) represents text which is marked or highlighted for reference or notation purposes, due to the marked passage's relevance or importance in the enclosing context.
-
del
-
The HTML del element represents a range of text that has been deleted from a document.
-
ins
-
The HTML ins element represents a range of text that has been added to a document.
Referring to Informatic Artifacts
-
code
-
The HTML code element displays its contents styled in a fashion intended to indicate that the text is a short fragment of computer code.
-
kbd
-
The HTML Keyboard Input element (kbd) represents a span of inline text denoting textual user input from a keyboard, voice input, or any other text entry device.
-
samp
-
The HTML Sample Element (samp) is used to enclose inline text which represents sample (or quoted) output from a computer program.