W3C home > Mailing lists > Public > www-style@w3.org > February 1999

Structure and Style revisited

From: Jelks Cabaniss <jelks@jelks.nu>
Date: Fri, 19 Feb 1999 23:46:08 -0500
To: <www-style@w3.org>
There is one HTML element in particular that jumps out as needing to be moved to
Style -- BR.  When you have something like ...

	<h1>The Old Man<br>
	    the Sea</h1>

... the <br>s are there just to break the lines; they are for visual effect, not
for sematic markup.  Wouldn't it be better to have ...

	<h1>The Old Man and the Sea</h1>

... with something like the following applied to it ...


		break-after: words(3,4);
		text-align: center; /* etc. */

... where "words" could take a single value or a list?  Maybe even have
"letters(...)" as well as "words(...)"?

Isn't <BR> part of the legacy of presentational HTML?  How would one express the
equivalent of <BR> in XML?  I really haven't thought much about the syntax, but
I do think there is a need to somehow express this in CSS.  As a precedent, we
do have "page-break-before", etc. for paged media.

Just a thought...

Received on Friday, 19 February 1999 23:49:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:49 UTC