Regarding <a> and rel attribute

Regarding <a> and rel attribute
0
#1

when creating multiple internal links in the same page, do we need to specify ‘rel=internal’, like , or is it not important.

#2

I’ve never read anything about it being mandatory and I’ve never seen it specified in a course, but it could be helpful for anyone doing SEO.

#3

Don’t think that’s even a thing, there is no such link type


https://www.w3.org/TR/html50/links.html#linkTypes

#4

I found that attribute in the technical documentation example project on CodePen. It confused me too.

#5

that is only used when you’re assigning a stylesheet to your html or other external file where you tell the browser what is the file’s relationship to html

#6

The projects need to be updated, they have a bunch of invalid HTML. I have updated some of the projects in the repo but the Codepen’s are still not updated. Not sure when they will be.

Anyway, it is invalid HTML.

Error: Bad value internal for attribute rel on element a: The string internal is not a registered keyword.

1 Like