in reply to Re^5: Keep quotes around numerical attributes after parsing with HTML::Treebuilder?
in thread Keep quotes around numerical attributes after parsing with HTML::Treebuilder?
if you tried to use <br/> in HTML then it would mean the same as <br/>> (or a line break followed by a greater than symbol)Are you sure? I tried <br/> in a small HTML-file and had it validated by the "official" W3C-validator at http://validator.w3.org.
Oh its valid - it just means something different - a line break followed by a greater than sign (rather than just a line break). Anywhere you can have a line break you can have character data, and a greater than character is character data.
I did make a typo in my previous comment though.
In HTML <br/> means the same as <br>>, not <br/>> (because <br/ means the same as <br> - SGML is complicated)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Keep quotes around numerical attributes after parsing with HTML::Treebuilder?
by CountZero (Bishop) on Jul 19, 2005 at 19:59 UTC | |
by dorward (Curate) on Jul 19, 2005 at 21:00 UTC | |
by CountZero (Bishop) on Jul 19, 2005 at 21:14 UTC | |
by dorward (Curate) on Jul 19, 2005 at 21:26 UTC |