英[lɪŋk] 美[lɪŋk]

n. Link, knot; [computer] link; association, relationship

vt. Link; hold, hook

vi. Connect with a ring; link together

Third person singular: links Plural: links Present participle: linking Past tense: linked Past participle: linked

html link tag syntax

Function: Define the relationship between documents and external resources.

Description: The most common use is to link style sheets.

Note: The link element is an empty element, it only contains attributes. This element can only exist in the head section, but it can appear any number of times.

html link tag example

<html>

<head>
<link rel="stylesheet" type="text/css" href="http://www.w3school.com.cn/html/csstest1.css" >
</head>

<body>
<h1>我通过外部样式表进行格式化。</h1>
<p>我也一样!</p>
</body>

</html>

Run instance »

Click the "Run instance" button to view the online instance