Skip to main content

Add CSS using external CSS

>>> U just need to create a another page and save it with the name style.css

>>> and then go to link that style page with your html docs


how to link your css with html page ?

>>> You can find code below , it will help you to link your external page with your html docs


<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Divyanshu Khare || MERN Developer</title>

<meta description = "description" content="Divyanshu Khare's website">

<link rel="stylesheet" type="text/css" href="style.css">   <!----------link external css page --------->

</head>

<body>


</body>

</html>

Comments