NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 344 - Bad </br> behavior
Bad </br> behavior
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Nobody
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-04 09:22 CET by Henri Sivonen
Modified: 2015-02-01 14:45 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2008-12-04 09:22:12 CET
16:00 < tthorsen> looks like livedom.validator.nu does not like the following 
                  markup: <!DOCTYPE html><html><head></br>
Comment 2 solemnxirae 2015-02-01 14:45:14 CET
(In reply to Henri Sivonen from comment #1)
> 17:20 < zcorpan>
> http://parsetree.validator.nu/
> ?parser=html5&content=%3C%21DOCTYPE+html%3E%3Chtml%3E%3Chead%3E%3C%2Fbr%3E&su
> bmit=Print+Tree

You never closed out the <head> tag before opening up <body>.
And you should really do <br /> for a single line break.