Pierre Goiffon wrote:
Jukka K. Korpela wrote:
If you check the HTML specification (as people should do at least
before offering advice on HTML in public), you will see that
explicitly says that the rendering effect of no-break space is undefined.
Do you have any URL ?
Of course.
I just checked the HTML 4.01 recommandation and
didn't find nothing :/
Well, if you did not find anything explicit about the rendering effect
being defined or undefined, then you should regard it as undefined,
right? So revealing the URL will just make this explicit:
http://www.w3.org/TR/REC-html40/struct/text.html#h-9.1
Oh well, I might quote the relevant bits:
"In HTML, only the following characters are defined as white space
characters:
ASCII space ( )
ASCII tab (	)
ASCII form feed ()
Zero-width space (​)
Line breaks are also white space characters."
and somewhat later
"This specification does not indicate the behavior, rendering or
otherwise, of space characters other than those explicitly identified
here as white space characters. For this reason, authors should use
appropriate elements and styles to achieve visual formatting effects
that involve white space, rather than space characters."
(Taken literally, this also means that the effect of no-break space on
line breaking is undefined, too. But they hardly meant that.)
using (or the no-break space character itself)
unnecessarily obfuscates your HTML source. It's not meant to be part
of the content but just affect visual rendering.
But you must add a non breakable space before characters such as ":",
"(" or ";"... It's not just all about an entire phrase that you want to
stay on the same line.
I have no idea of what you are talking about here and how it relates to
the piece of my text you quoted, or to the original question (which was
fairly vague, since there are so many ways to add white space to a
paragraph).