I Was wondering why is <link />
tag in HTML is called link
. Why not call it something like <include />
as it includes things such as stylesheets? What does the word link
actually signify? Why was link
used?
Per the HTML Living Standard:
The
link
element allows authors to link their document to other resources.
It's used to link to other resources. It's used to describe and specify a relationship between the document and another resource which may be a stylesheet, it's not necessarily importing a resource. The name include
would entail that you're including a script or stylesheet, but that's not what link
necessarily does.