Cascading Style Sheets

Example

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Example</title>
  <meta name="AUTHOR" content="Jose M Vidal"></meta>
  <link rel="stylesheet" type="text/css" 
     href="../xslides-medwhite.css" title="White" media="all" />
  <link rel="alternate stylesheet" type="text/css" 
     href="../xslides-medblue.css" title="Blue" media="all" />
  <link rel="alternate stylesheet" type="text/css" 
     href="../xslides-usc.css" title="USCTheme" media="all" />
  <style type="text/css">
  @import url(sheet2.css);
  h1 {color: blue;}
  body {background: yellow'}
  </style>
</head>
<body>
  The background is in yellow.
  <h1>This will be in blue</h1>
</body>
</html>

José M. Vidal .

2 of 14