# Re: line breaks vs. line elements (comments on XHTML 2.0 text module)

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 8 Nov 2002 10:04:07 +0000 (GMT)
To: Peter Sheerin <pete@petesguide.com>
Cc: html-w3c <www-html@w3.org>
Message-ID: <Pine.LNX.4.21.0211081000130.3467-100000@dhalsim.dreamhost.com>
```
On Wed, 6 Nov 2002, Peter Sheerin wrote:
>
> ----------------------------------------------
>      The displacements of the membrane
> under load are described by the equations
>
> [two fancy math expressions were here]
>
> where r is the radial coordinate, a is the
> radius of the clamping edge, w is the
> transverse...
> ----------------------------------------------
>
> So, in XHTML, this would be:
>
> <p>The displacements of the membrane
> under load are described by the equations<br />
> [itex]
> [two fancy math expressions were here]
> [/itex]
> where r is the radial coordinate, a is the
> radius of the clamping edge, w is the
> transverse...</p>

No it wouldn't. It would be:

<p>The displacements of the membrane under load are described by the
equations
[itex]
[two fancy math expressions were here]
[/itex]
where r is the radial coordinate, a is the radius of the clamping edge,
w is the transverse...</p>

...and the stylesheet would imply the linebreak by using display:block or
some such.

The <br/> has absolutely no semantic reason to be in that example. The key
phrase which is a good indicator of this is:

there is a need to force a linebreak to make sure that space is left
for the figure and so that text justification may occur

There is _never_ a need, _in HTML_, to force a linebreak, or to ensure
that "space is left", or to do anything with "text justification". HTML is
a semantic markup language, not a page description language.

--
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
```
Received on Friday, 8 November 2002 05:04:09 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:01 UTC