Handling Whitespace, Line Breaks, and Collapse in HTML
Discover how web browsers process whitespace collapsing, multiple spaces, line breaks, indentation, and preformatted text.
Discover how web browsers process whitespace collapsing, multiple spaces, line breaks, indentation, and preformatted text.
Learn when and how to use the self-closing br tag for forcing line breaks in addresses, poetry, and inline text blocks without breaking paragraphs.
Format mathematical formulas, chemical equations, footnotes, and ordinal indicators using HTML sub and sup tags.
Learn how and when to use the u element for unarticulated non-textual annotations such as misspelling indicators or proper name offsets.