CSS導入
2177 ワード
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--
html
css( ) 。
css :
: style css 。 , 。
:
<style type="text\css">
css 。
</style>
:
<style type="text\css">
a{
color:#F00;
text-decoration:none;
}
</style>
: css 。 。
1: link 。 ...
:
<link href="css " rel="stylesheet">
: <link href="1.css" rel="stylesheet"/>
2: <style>
:
<style type="text/css" >
@import url("css ");
</style>
:
<style type="text/css" >
@import url("1.css");
</style>
: html style 。 , 。 。
:
<a style="color:#0F0; text-decoration:none" href="#"> 1</a>
-->
<style type="text/css">
/*
html :<!-- html -->
css /
css ..*/
/*
*/
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> </title>
</head>
<body>
<h1> 1</h1>
<a style="color:#0F0; text-decoration:none" href="#"> 1</a>
<a href="#"> 2</a>
<a href="#"> 3</a>
<a href="#"> 4</a>
<a href="#"> 5</a>
<a href="#"> 6</a>
</body>
</html>