Question

I found a strange a href in a webpage. It looks like

<a href=... rel="servername.com|6d63402c" ...other properties... ></a>

What does cryptic |6d63402c mean ? Is it a bitwise OR operation or just a string?

The document contains different links with different rels in this style.

Was it helpful?

Solution

The rel attribute specifies the link relationship type.

In HTML5 you may only use rel values that

As the value servername.com|6d63402c is not defined/registered, the page uses invalid markup.

As to what this specific value does: we can’t know (well, because it is not defined/registered). It’s probably some internal or third-party script that makes use of it. They should better use the data-* attribute instead of misusing rel.

OTHER TIPS

Per the tag wiki: The rel attribute is used in HTML elements to specify the relationship and connection between the current document and the linked document.

Sources: W3C (link)

Source: W3Schools (link)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top