Internal style sheet

<style type="text/css">


</style>

 

Example Internal style sheet (Indent and set Headings to Gothic lettering)

<style type="text/css">

h1,h2,h3,h4,h5,p,ul { font-family: sans-serif; }

p {margin-left: 20px}

body {background-image: url("images/gradient.gif")}

-->

</style>



Paragraph Settings

p

{

text-align: center;

color: black;

font-family: arial
p { text-indent: 2em; margin-top: 0; margin-bottom: 0; }
 

Indent a Paragraph
p { text-indent: 2em; margin-top: 0; margin-bottom: 0; }

CSS for Links
a:link {color:green}
a:visited {color:yellow}
a:hover {color:black}
a:active {color:blue}


External style sheet:
<head>

<link rel="stylesheet" type="text/css"

href="style.css" />

</head>