External Style Sheet
What is external Style Sheet? How to link?
You have in the head of your HTML
and an external file in a location that is determined by the href=" ... " portion, the above example points to a stylesheet called site.css in the same directory as the HTML page that has called it.
<link rel="stylesheet" type="text/css" href="site.css" />
Your stylesheet is a file named by what you want to refer to it by and has the extension .css but in reality the extension could be anything you like but more relevent to keep use of the .css extension because editors and software that is used for production of web sites know then that its a stylesheet.
Unlice CSS in the HTML page, your stylesheet does not need the HTML tags for stylesheets.
--> JQuery questions here <-- ... and please remember to wrap any code you have in forum tags:-
[CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]
If you can't think outside the box, you will be trapped forever with no escape...
External style sheets are the best way to put CSS styles on your web pages. Once you've gone beyond the basics of creating CSS styles, you'll want to be able to use the same styles across multiple pages on your site. External style sheets make this easy to do.
An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an whole Web webpage by transforming one file.
Each page must link to the style sheet using the <link> tag. The <link> tag goes inside the head section:
<link rel="stylesheet" type="text/css" href="mystyle.css">
Hope this helps.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)