On 31/07/07, Daniel Arnold <arnomane(a)gmx.de> wrote:
Hm well there is "<a href" too... ;-) But
none likes writing it, wikisyntax is
much easier (and causes less input errors).
Well, no, <a> is not a whitelisted HTML tag, so the MediaWiki
sanitiser won't let it through.
The same is with br. There are several possibilities
writing br. The correct
one is <br /> but you can see <br> all around. A correct nice br has 6
characters. \\ would be just two and there's no doubt about the syntax.
There's no "correct" case - <br> is fine in wiki text; it's
sanitised
to <br /> before being emitted in HTML, and of course, Tidy usually
sorts out any other mess.
This is equal to a page break you can often find after
a chapter in a book. In
Wikipedia for example it is often used in order to clearly separate different
article objects (for example navigation bars use it very often) or article
some article chapters, where free flow of elements into the next chapter
would cause layout confusion.
Semantically speaking, <br style="clear: both;" /> is not a page
break; it's just a line break which happens to clear all preceding
floats.
Rob Church