Monday, February 10, 2014

CSS (Internal & External)

INTERNAL CSS

<!DOCTYPE html>
<head>
<title>using INTERNAL css</title>
<style type="text/css">
body {
font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
background-color: #42413C;
}
</style>
</head>

<body>
</body>
</html>


EXTERNAL CSS

<!DOCTYPE html>
<head>
<title>using EXTERNAL css</title>
<link href="css/style.css" type="text/css" rel="stylesheet"/>
</head>

<body>
</body>
</html>

-------
style.css

body {
font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
background-color: #42413C;
Internal & External CSS }

No comments:

Post a Comment