在Html添加CSS樣式


<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>0415MyPage</title>
<style>
p.tip span{
font-weight:bold;
color:#ff9955;

}</style>

</head>


<body>
<p class="tip"><span>提示:</span></p>
<h6>背景顏色</h6>


<html>
<title>First</title>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" >
<style>
.tip {font-weight:bold;
color:#ff9955;
}
</style>
</head>
<body background="5.jpg">
<h1>My First Heading</h1><!--This is a comment-->
<p style="color:red;margin-left:20px">My First paragraph</p>
<p class="tip"><span>提示:</span></p>
<hr/>


還有可以導入css文件的方法

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章