

Browsers create soft linebreaks after hyphens (see above), but not after en dashes or em dashes.However, it should always be distinguished from a hyphen ( - ), which is used to separate the parts of an ad hoc compound word. The en dash is used between two quantities or dates to suggest a range, and is indistinguishable from a proper minus sign ( −/ −).HTML also provides references to the code positions for one-quarter and three-quarters fractions.The middle dot is an anachronistic analogue to the decimal point, still used by some designers to enumerate amounts of decimalized currency.¶ Paragraphs marked with this symbol will most often be assigned a display value of inline, which will be explained in the introduction to the CSS layout model. In technical writing, it might also be useful for marking an orphaned first line of a paragraph. The print distribution of Rolling Stone magazine has often used such an approach. The pilcrow, used to mark the beginning of paragraphs that might otherwise be ambiguous, is useful when setting teaser copy.They are also used for quotes in certain European languages (such as French and Norsk) in these situations, you should always use q elements instead. Guillemets often enclose the names of stories, songs, films, public accommodations (eg, «Rick’s Café Americain»), and popular toponyms in European languages, particularly those of the Romance sub-family.Citations of statute law, eg, “29 USC § 794 (d),” are the matter most likely to reference this character.Note that guillemets are used for quotes in certain European languages (such as French and Norsk) in these situations, you should always use q elements instead. Table 1: HTML entities useful for proper typesetting, listed in order by decimal Unicode position. In all other cases, the alphanumeric references should be used. Many of those listed in Table 1 are useful only when used in foreign language copy (and copy written in specific dialects of English), so context should be taken into account before the choice is made to use them.įor the sake of portability, Unicode entity references should be reserved for use in documents certain to be written in the UTF-8 or UTF-16 character sets. There are a number of HTML entities that come in handy when there’s a need for first-rate typesetting. In order for these to appear in your document, you can use either the numerical codes or the entity names.This part of the Web Standards Curriculum looks at the different codes that can be used to represent text characters when there is a need to escape them. There is also a long list of special characters in HTML 4.0.
