Answers for "how to link a css"

CSS
9

how to link your css file to html

<head>
	<link rel='stylesheet' href='style.css'>
</head>
Posted by: Guest on June-18-2020
0

linking css

<html>
  <head>
    <title>CSS Styling</title>
    <!-- `./` because the file is in the same directory as the HTML file -->
    <link rel="stylesheet" type="text/css" href="./styles.css" />
  </head>
  <body>
    <h1>CSS Styling</h1>
  </body>
</html>
Posted by: Guest on June-04-2021

Browse Popular Code Answers by Language