link means "link" and is a tag in HTML used to establish links to external files. The syntax is "
"; the document connected by href is a style sheet. ="stylesheet">
html, the definition and usage of the link tag: link is a tag in the HTML language. Links can be used to establish links to external files.
The tag defines the relationship between the document and external resources. The most common use of the
tag is to link style sheets. The link tag of
html is used for the current document to reference external documents, and the rel attribute is used to set the relationship between the object and the link purpose.
rel is the English abbreviation of relationship; style in stylesheet means style, sheet means table, and in summary, it means style sheet.
rel="stylesheet" describes the relationship between the current page and the document specified by href. That is to say, the document connected by href is a style sheet.
<linkrel="stylesheet"href="style.css"type="text/css"/>
HTML tag example:
Link to an external style sheet:
<head> <linkrel="stylesheet"type="text/css"href="theme.css"/> </head>
htmllink tag attributes:
tuyi.png
The role of the htmllink tag:
linkrel=canonical specifies the canonical URL
For dynamic websites, there are many duplications It is normal for web pages to access the same content.
Recommended tutorial: "HTML Tutorial"
The above is the detailed content of What does the link tag mean?. For more information, please follow other related articles on the PHP Chinese website!