David said:
That makes sense to me, but when you name the external styles sheet
with a .css extension, how does it make the changes to the other html
page.
There may be some misunderstanding here. CSS Style sheets don't change
the HTML at all, they just tell the user agent (your browser) how to
draw the elements that are there.
If you have
<h1>My Heading</h1>
in your HTML document, in your stylesheet you might have
h1 {
font-size: 300%;
font-weight: bold;
}
which tells the browser that headings should be 3x normal size and
bold. The HTML document is intact throughout the process.
Some of the explanation seems to miss something, or it's just me. I
know that the .css file and the html file have to be in the same
folder, but just can't understand how the Link rel connects the two
documents.
They don't actually have to be in the same folder; they can be in
different folders so long as both are 'visible' so that the user agent
can fetch them as needed. For example, if your documents are served
from C:\My Web Pages\Site\ then putting your stylesheet in C:\ won't
help you but putting them in C:\My Web Pages\Site\Style\ would.
The LINK element's href attribute tells the user agent where to get the
stylesheet from; once the browser has the sheet the styles it contains
are applied to the displayed document.