Currently, HTML element reference pages have simply the element name as the title, like <tr>
or <body>
. This is succinct but is not great for SEO. I would like to propose we change these titles (not the page slugs, just the titles) to:
<element>
: The HTML element’s full name element
So the <tr>
page would have the title:
<tr>: The HTML Table Row element
And <figcaption>
would be:
<figcaption> The HTML Figure Caption element
This would improve indexing of the pages, and would provide a much more descriptive title when users see these pages in a listing on Google or whatever. Does anyone have any objections or suggestions to change those before I make this happen?
On a related note, I’d like to also figure out a reasonable way to sneak the word “tag” into the HTML Reference pages. We don’t use that term on MDN; we typically use the word “element” instead, to describe the entire element rather than simply the tag itself. But “tag” is a common part of search queries, so we need to try to find ways to adapt to using it at least a little bit.
I suppose we could at least start trying to make an effort to single out the tag itself from the element as a whole in each document, but I worry that this is amounts to unnecessary bloat to the material. Any ideas how we can do this cleanly?
Sheppy