Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (the look and formatting) of a document written in a markup language.
Just copy this coding in notepad and named this file index.html.
<html>
<head>
<link rel="stylesheet" type="text/css" href="test.css" />
</head>
<body>
<h3> A White Header </h3>
<p> This paragraph has a blue font.
The background color of this page is gray because
we changed it with CSS! </p>
</body>
</html>
Make another notepad file and copy this coding and named test.css
body{ background-color: gray;}
p { color: blue; }
h3{ color: white; }
So ,this is an example of css file.
No comments:
Post a Comment