Text blocks

Except in one special circumstance, a browser will not obey any line breaks in the ASCII text file that contains the HTML document, but it will instead reformat the text to break at the right-hand margin of the window (or sub-region of the window) into which it is being displayed. This makes sense because fonts differ in respect of the widths of each character, and because the viewable area is determined by the size of the user's monitor and the size of the area assigned by the user to the browser window. Yet it is usually not desirable for an entire document to be reformatted into a single large text block. HTML therefore includes tags that break up the text into meaningful blocks. The most essential of these is the P (paragraph) ...

Get XSL companion, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.