by Vivienne Trulock
Linked styles are external stylesheets with their own file extenstion of .css. They are not contained within a HTML file. Instead the HTML file contains a link to the position of the css file. So the HTML file will have this code
<html>
<head>
<title>Document Title Here</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="Layer1"></div>
</body>
</html>
and the CSS, called style.css, will have this code:
#Layer1 {
position:absolute;
width:200px;
height:115px;
z-index:1;
}
Again, the style knows which element it refers to because the #Layer1 in the style, links to the id="Layer1" of the <div>, and the HTML is able to find the CSS page because it knows it's name: href="style.css"