If you are planning on loading an XML document as a web page, you usually have to define what each element in your XML actually does (what it translates to as well as how it's styled). This is typically done with XSLT, which basically translates your XML into HTML/Javascript/CSS. I've placed a link to some good starter's information in the related links section.
You have to use a Stylesheet (CSS). Or you can type CSS straight into the document.
Attaching a CSS file is done in the <head> of your HTML document with a <link /> tag. Here's the formatting: <link type="text/css" rel="stylesheet" href="YOURFILE.css" />
<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>.
You can find a lot on CSS at the w3schools website:http://w3schools.com/css/default.aspIn general, you can apply CSS directly to an HTML element in-line using the style attribute:Link TextYou can define CSS in a style HTML tag in the head of the document:....RedLink {color: #f00;}...Or you can put your CSS in a separate file or Stylesheet and embed it in the head of the document:......A typical way of having those CSS properties applied to an HTML element is using the class attribute (which is defined by a leading period (.) in the CSS itself:Link Text
Instead of referring to an external CSS file via <link rel="stylesheet" type="text/css" href="style.css" /> you can also add <style type="text/css"> body { ... } ... </style> to the <head> section of your document. The main set back is that if you do that, you have to edit every single page where you want certain styles to appear instead of referring to one single document.
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.
Generally the latter / last expression in a CSS stylesheet takes precedence.
Cascading Style Sheets (CSS) uses classes.
<link href="basic.css" type="text/css" rel="stylesheet" media="screen"/> <link href="print.css" type="text/css" rel="stylesheet" media="print"/>
In this example, I'm using a filename titled style.css located in the CSS folder: <link href="css/style.css" rel="stylesheet" type="text/css" /> Insert this line inside your <head> tag. It then refers to an external stylesheet.
Relative addresses exist on servers and in HTML. A webpage can have a relative address linking a stylesheet to it. They do not exist in CSS.
You need to have the files in the same folder. Add this to HTML: <link rel="stylesheet" type="text/css" href=".css">