css stylesheet link code example

Example 1: how to link css to html

<link rel="stylesheet" href="styles.css">

Example 2: add stylesheet html

<link rel="stylesheet" type="text/css" href="style.css">

Example 3: link stylesheet

<link rel="stylesheet" type="text/css" href="/style.css">

Example 4: external css link

<link rel="stylesheet" href="styles.css">

Example 5: how to link css to html

<link rel="stylesheet" href="PathToYourFile.css">

Example 6: how to link your css file to html

<head>
	<link rel='stylesheet' href='style.css'>
</head>

Tags:

Css Example