emphasis-001 should GuidesAPI docsMarketingBlog Italicize mathematical variables in text.
These rules cover italics and bold as emphasis, introducing new terms, formatting math variables and titles of works, and the semantic HTML behind them. Bolding UI element names is covered under UI elements, and code font is covered under inline code.
emphasis-001 should GuidesAPI docsMarketingBlog Italicize mathematical variables in text.
Examples
Rationale
Italic is the math convention for a variable, distinguishing it from surrounding text.
emphasis-002 should GuidesAPI docsMarketingBlog Italicize the first mention of a new term when it is immediately defined.
Examples
Rationale
Italic on a term’s first, defining use signals that it is being introduced.
emphasis-003 should GuidesAPI docsMarketingBlog Avoid footnotes; prefer cross-references, inline notes, or parentheticals instead.
Examples
Rationale
Footnotes pull the reader away from the flow, so an inline note or cross-reference keeps the information in place.
emphasis-004 should GuidesAPI docsMarketingBlog Distinguish em (semantic emphasis) from i (non-emphasis italics) and strong (semantic importance) from b (non-semantic bold) in HTML.
Examples
<em>never</em> commit an API key to source control.<i>never</i> commit an API key to source control.Rationale
The semantic tags carry meaning to assistive tech that the presentational tags do not.
emphasis-005 should MarketingBlog Use pull quotes sparingly in editorial content: one or two per article at most, kept to a sentence or two. Self-quotes lifted from the article’s own text need no attribution; person-quotes from external sources are always attributed. Don’t use pull quotes in reference documentation.
Rationale
Pull quotes are a narrative device that suits editorial writing but interrupts scanning in reference documentation, so they belong on the marketing site and blog and stay out of the docs.
emphasis-006 should GuidesAPI docsMarketingBlog When referencing books, films, articles, papers, blog posts, games, or other named works, preserve the original capitalization of the title as published. Italicize titles of full-length works, use straight double quotation marks around titles of shorter works, and use the canonical identifier for RFCs, specifications, and standards documents (RFC 7234, ISO 8601, WCAG 2.1).
Examples
Rationale
A title belongs to its author and publisher, so preserving the original capitalization gives the reader accurate information and makes the work easier to find.