cluster1
cluster1

Reputation: 5752

"Relation between link-tag and href" - What does that mean?

I'm trying to get the meaning of the rel-attribute within the CSS link-tag.

One finds a lot of resources, which say something like e.g. "rel is short for relation. It specifies the relation between the tag and href." But that doesn't help me much.

Because: How is that meant?

What's exactly is meant with "relation" within the specific case CSS link-tag?

Upvotes: 0

Views: 68

Answers (1)

Mitya
Mitya

Reputation: 34598

There are different uses of the link tag, of which the loading of external CSS is the most common.

The rel attribute tells the browser what sort of relationship is being loaded.

Read more: MDN docs

Upvotes: 2

Related Questions