Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^5: Wiki-Style syntax for posting

by SFLEX (Chaplain)
on Oct 16, 2008 at 12:06 UTC ( [id://717464]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Wiki-Style syntax for posting
in thread Wiki-Style syntax for posting

Your just "plain wrong" about XHTML.
The proper way to use that tag in XHTML is this way and only this way.
 <br />
And here is a link you can learn from.
http://www.w3schools.com/tags/tag_br.asp
Spiel auf Hündinnen.

Replies are listed 'Best First'.
Re^6: Wiki-Style syntax for posting
by JavaFan (Canon) on Oct 16, 2008 at 13:00 UTC
    No, he's right. Allow me to quote from W3C's XHTML™ 1.0 The Extensible HyperText Markup Language (Second Edition) specification, to be precise, section 4.6. Empty Elements:
    Empty elements must either have an end tag or the start tag must end with />. For instance, <br/> or <hr></hr>. See HTML Compatibility Guidelines for information on ways to ensure this is backward compatible with HTML 4 user agents.
    Now, it's true that in the same document, one of the appendices, C.2. Empty Elements recommends using <br />, but that's just a recommendation, empty elements with a open and end tag are allowed.
    A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://717464]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-06-22 04:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.