External CSS in web development

Last modified on May 26th, 2018 at 1:50 pm

What is external CSS?

External CSS means that web page is separate and .css file is a separate file but web page access the .css

Example of external CSS

1st Step: HTML File

<html>

<head>

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

</head>

<body>

</html>

2nd Step: CSS File

body {
    background-color: red;
}

Output:

 
Pr. Fazal Rehman Shamil
Publisher of Internatonal Journal of Software Technology & Science ISSN: 2616- 5325
Instructor, Researcher,SEO expert, Web Master, Article Writer and Poet. Feel free to contact.