<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>使用CSS內嵌式</title>
<link href="https://bbs.csdn.net/topics/style.css" type="text/css" rel="stylesheet" />
<style type="text/css">
.red{color:red; }
.green{color:green; }
.font22{font-size:22px; }
h2{ text-align:center;}
p{ font-size:16px; color:red; text-decoration:underline;}
#bold {font-weight:bold;}
#font24 {font-size:24px;}
.one{ font:italic 18px/30px "隸書";}
.two{ font:italic 18px/30px; text-indent:2em;}
p{ color:blue;}
.special{ color:green;}
p.special{ color:red;}
p strong{ color:red;}
strong{ color:blue;}
h2,h3,p{ color:red; font-size:14px;}
h3,.special,#one{ text-decoration:underline;}
</style>
</head>
<body>
<h2>樣式</h2>
<p>標記</p>
<h2 class="red">二級標題文本</h2>
<p class="green font22">段落一文本內容</p>
<p class="red font22">段落二文本內容</p>
<p>段落三文本內容</p>
<p id="bold">文字。</p>
<p id="font24">設定。</p>
<p id="font24">段落。</p>
<p id="bold font24">段落。</p>
<p class="one">段落1</p>
<p class="two">段落2</p>
<h2>二級標題文本。</h2>
<h3>三級標題文本,加下劃線。</h2>
<p class="special">段落文本1,加下劃線。</p>
<p>段落文本2,普通文本。</p>
<p id="one">段落文本3,加下劃線。</p>
<p>文本<strong>文本</strong></p>
<strong>文本</strong>
<p>普通段落文本</p>
<p class="special">文本</p>
<h3 class="special">文本</h3>
</body>
</html>
uj5u.com熱心網友回復:
你想表達什么uj5u.com熱心網友回復:
都是常見的樣式跟標簽,你想表達什么uj5u.com熱心網友回復:

想讓我怎么翻譯?效果圖都在這了
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/126592.html
標籤:HTML(CSS)
