javascript中html當(dāng)中如何引用css文件

html當(dāng)中如何引用css文件
馬克- to-win:馬克 java社區(qū):防盜版實(shí)名手機(jī)尾號(hào): 73203。


馬克-to-win:css:Cascading Style Sheets

例 1.1

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<!-- LINK.rel (Property)
The relationship between the current element and the remote document.  -->
<link href="outer.css" rel="stylesheet">
</head>
<body>
<table width="190" height="80" border="2" >
  <tr>
    <td >張三</td>
  </tr>
  <tr>
    <td>qixy</td>
  </tr>
  <tr>
    <td>李四</td>
  </tr>
  <tr>
    <td>王五</td>
  </tr>
</table>
</body>
</html>


outer.css:

table {
    background-color: #0000ff;

}
td {
/*the following statement make the border to show, because of the different color.*/
    background-color: #FF0000;



}