News for hackers. Stuff that matters.
Re:Write HTML Right by martin_a on Friday June 10, 2022 @03:24PM (#31698388)
While I'm no big fan of SEO and all that surrounds it: Will this open-tag-thing here influence how crawlers handle your site and index/rank it?
Re:Write HTML Right by exyi on Friday June 10, 2022 @06:54PM (#31700267)
I have no idea what Google does, but expect their parsers to be quite robust. I tried doing some web scraping, and so many pages are not even valid HTML (most often invalid nested tags, like a table inside span, missing closing tags even when required, random unopened closing tags, ...). Not closing <p> and <td> tags is quite common, I have not seen omitted <html> <head> and <body> yet.
Re:Write HTML Right by aparks517 on Friday June 10, 2022 @03:50PM (#31698654)
I don’t expect it to as long as the mark-up is valid. Perhaps someone with more SEO knowledge will stop by to correct me.
Re:Write HTML Right by martin_a on Monday June 13, 2022 @07:35AM (#31724003)
You're right. HTML5 does not work with DTDs anymore, so unclosed tags are not a violation of the document schema and therefore probably not "punishable" by search engines.
Re:Write HTML Right by anjbe on Monday June 13, 2022 @02:18PM (#31729285)
Implicit end tags as described in the article have been allowed by every HTML DTD not named XHTML.