JacobBramley: -------------------------------------------------------------------------------- The HTML / XHTML highlighter does not properly highlight the "col" element. --------------------------------------------------------------------------------
Yes it does JacobBramley: -------------------------------------------------------------------------------- The following highlights correctly: <col> -------------------------------------------------------------------------------- That's valid XHTML, and so hilights properly JacobBramley: -------------------------------------------------------------------------------- The following do not: </col> <col/> -------------------------------------------------------------------------------- The COL element is empty, so the end tag is forbidden. And for XHTML-style "empty" elements, you should include a space. (viz http://www.w3.org/TR/xhtml1/#guidelines ) <col /> Works fine. If you try, you'll see that other empty elements higlight the same way - <br/>,<img/>,<hr/> will all be errors - you need the space for PSPad to recognise it, which is consistent with w3c guidelines. JacobBramley: -------------------------------------------------------------------------------- In HTML, the element does not need to be closed, but in XHTML it is a requirement that the closing tag is included (or its shorthand equivalent). -------------------------------------------------------------------------------- [url=http://www.w3.org/TR/html401/struct/tables.html#edef-COL]W3C doesn't agree[/url] -- <http://forum.pspad.com/read.php?4,43878,43885> PSPad freeware editor http://www.pspad.com
