News for hackers. Stuff that matters.
Re:Linting HTML using CSS by adzicg on Saturday March 11, 2017 @08:26PM (#13848353)
broken XML leading to browsers applying inconsistent closing tags is a much bigger issue than missing attributes or inline CSS

this kind of linting can't spot broken document structure

Re:Linting HTML using CSS by Xorlev on Saturday March 11, 2017 @08:28PM (#13848358)
Sure, but lets say you have well-formed HTML tags. At that point you're looking for things semantically "weird" as opposed to structurally wrong. This helps there.
Re:Linting HTML using CSS by stan_rogers on Saturday March 11, 2017 @10:16PM (#13848731)
HTML isn't XML. HTML is older.
Re:Linting HTML using CSS by recursive on Saturday March 11, 2017 @11:40PM (#13849008)
The rules for this are specified in the html5 spec. Also, some tags are not allowed to be closed, and others are only optionally closed. (like li and p)