[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HTML syntax.



peter@easthope.ca wrote:

> Hi again,
> 
> Is there an editor which checks that HTML opening and closing tags are
> paired and nested properly.  An opening tag without matching close, a
> closing tag without matching open and crossed tags should be flagged
> by line number or color.
> 
> Preferably an editor with minimal overhead of installation and
> configuration.
> 

HTML is not strict XML - so it depends on the definition of the page (my
knowledge is based on HTML2-4, but should apply to recent 5)
So it means that you can omit closing tag (check w3c.org)

Regarding checking XML - there is xmllint, but again it is not exactly
intended for HTML as it is not a strict language.

You are most likely looking for a HTML validator from which there are 100
online. 




Reply to: