Answers for "w3school css link to html"

CSS
1

how to link html to css

//this is my code
in order to link html page to css then you must write this line in the html page
<link href="style.css" rel="stylesheet" type="text/css" />

however you must write this line inside the <head> tag in the wanted html page

href="style.css" --> it refer to the name of the css page that you want this 
html page to connect to.
  
type="text/css" --> this part is optional and you don't have to write it
Posted by: Guest on March-29-2022
6

w3.css link

<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
Posted by: Guest on August-16-2021

Browse Popular Code Answers by Language