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

Re: HTML syntax.



On Mon, May 03, 2021 at 08:50:52PM +0200, deloptes wrote:

[...]

> 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.

xmllint has an --html option for that. That said...

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

...those will do, too.

Cheers
 - t

Attachment: signature.asc
Description: Digital signature


Reply to: