Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Ensuring HTML is "balanced"

by ww (Archbishop)
on Mar 26, 2008 at 00:47 UTC ( [id://676276]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Ensuring HTML is "balanced"
in thread Ensuring HTML is "balanced"

This is a common misconception (and one which I think reflects what the standard *SHOULD* be). Even though the close </p> tag is mandatory for certain other standards, </p> is optional in html 4.01, per http://www.w3.org/TR/html401/struct/text.htm and other w3c references:
9.3.1 Paragraphs: the P element
...
Start tag: required, End tag: optional

Whether or not this stands in the forthcoming html 5.0 standard is unknown.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-25 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found