Glasfaser Glasfaser - 5 months ago 8
HTML Question

Does the hreflang attr. make sense in <base>?

Does a

hreflang
attribute make sense in the
<base>
element?
I thought about using this attribute, like:

<base href="example.com" target="_self" hreflang="de">


to let every link (
<a>
and
<link>
) inherit the value of
hreflang
.
Is this possible?

Answer

The documentation here, mentions that only <a>, <area>, <link> are the tags which make use of this attribute.