How to use external style sheets?

How to use external style sheets?

Senior Developer Asked on December 6, 2017 in CSS.
Add Comment
1 Answer(s)

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


<!DOCTYPE html>

<html lang = "en-US">

<head>

<meta charset = "UTF-8">

<title>External Style Demo</title>

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

</head>

<body>

<h1>External Style</h1>

<p>The styles are defined in an external style sheet name as style.css</p>

</body>

</html>

IT Head Answered on January 22, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.