This separates the content (HTML) from the formatting, or presentation (CSS).
To link a style sheet into an HTML document, you will use the <link> tag. This tag links, or embeds, the style sheet into the document. This would look like: <link rel="stylesheet" href="style.css" type="text/css" /> This allows you to use the same style sheet and rules on multiple HTML documents.
<link></link>
Actually, there is no difference between an embedded style sheet and a linked style sheet. They are exactly the same thing, just different wording to describe the same process. To embed a style sheet into a document, you use the <link /> tag within the <head> tag of an HTML document. An example is: <link rel="stylesheet" href="style.css" type="text/css" />
That would refer to the location of the style sheet for your XML document
You can use it anywhere that supports a link to a CSS file.
You can use the link tag to specify the style sheet you want to link into your web page. You put it into the head area. To link a file called YourStyle.css into your page, then you would do it like this: <link rel="stylesheet" type="text/css" href="YourStyle.css">
You use the LINK tag.You use the LINK tag.You use the LINK tag.You use the LINK tag.You use the LINK tag.You use the LINK tag.You use the LINK tag.You use the LINK tag.You use the LINK tag.You use the LINK tag.You use the LINK tag.
<link href="css/style.css" rel="stylesheet" type="text/css" /> The link tag refers to an external stylesheet while the style tag is used if your CSS is inside the HTML document under the <head>.
The internal stylesheet is added at the beginning of the document, in the HEAD section of an HTML page. <style type="text/css"> .style {font-weight:bold}: </style> If you want to use inline styles, then use the style attribute: <p style="font-size:24px;">Blah blah blah</p>
The short answer is to code it into your website: <link rel="stylesheet" type="text/css" href="style.css"/> where style.css is the style sheet.
CSS (Cascading style sheet)
Three Ways to Insert CSSThere are three ways of inserting a style sheet: External style sheetInternal style sheetInline style 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 entire Web site by changing one file. Each page must link to the style sheet using the tag. The tag goes inside the head section: An external style sheet can be written in any text editor. The file should not contain any HTML tags. Your style sheet should be saved with a .css extension. An example of a style sheet file is shown below: hr {color:sienna;}p {margin-left:20px;}body {background-image:URL("images/back40.gif");}