Re: HTML 4.01 and 5.0: is it somewhat "unspecific" about space characters

On 29/03/2008, Kenneth Kin Lum <kenneth.kin.lum@gmail.com> wrote:
> But the fact that practically all designers rely on the fact that those
> space is totally ignored and not a single space is rendered, it can make
> sense to put it into the spec or the recommendation.

It's not up to the specification to say how things are rendered though
- that is up to the browser (or, more specifically, it's rendering
engine - e.g. Gecko) in a similar way to how tags such as <strong> do
not mean that the text will be presented in bold type (unless you have
a CSS rule to enforce this of course). Another example is how some
designers rely on the value of the alt attribute in the img tag being
displayed when the mouse hovers over the image - this behaviour is not
defined in the specification and the rendering differs between
browsers (e.g. Firefox won't render the text when the mouse hovers
over the image).

Cheers,

Paul

-- 
Paul Waring
http://www.pwaring.com

Received on Monday, 31 March 2008 06:11:11 UTC