External Stylesheet
External Stylesheet
Create a .css file that contain the only css script anmd link it into .html or . php page based on requirement.
<head>
<link type=”text/css” rel=”stylesheet” href=”css_filename.css”>
</head>
Example:
File name Style.css
P
{
Color:red;
}
Html file:
<html>
<head>
<link type=”text/css” rel=”stylesheet” href=”style.css”>
</head>
<body>
<p>cs-tutorial is a best website for html tutorial</p>
</body>
</html>