You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tooling.apache.org by "sbp (via GitHub)" <gi...@apache.org> on 2025/12/02 17:16:20 UTC
Re: [I] HTML markup `meta` and `title` tags: Readability and Clarity / Search Engine Optimization / Accessibility (tooling-trusted-releases)
sbp commented on issue #372:
URL: https://github.com/apache/tooling-trusted-releases/issues/372#issuecomment-3603145366
> The HTML <title> tag should not have extra whitespace around its content for functional or semantic reasons. While whitespace within the HTML markup (like indentation or line breaks) is generally ignored by browsers and search engines for rendering, the content of the <title> tag itself should be concise and focused.
The [`document.title` WHAT WG documentation](https://html.spec.whatwg.org/multipage/dom.html#document.title) says to "[Strip and collapse ASCII whitespace](https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace) in _value_." Therefore I don't think "should not have extra whitespace around its content" holds. I could not find any article recommending to do this for any reason. Despite this, I would still like to fix this issue, on pure formatting grounds. We should also supply the missing `meta/@content` value.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tooling.apache.org
For additional commands, e-mail: dev-help@tooling.apache.org