ตัวอย่างที่ 4.1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.W3.orq/1999/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns = "http://www.W3.orq/1999/xhtml1">
<head>
<meta http-equiv = "content-Type" content = "text/html; charset = windows-874"/>
<title>Untitled Document</title>
<style type = "text/css">
<!—
Body { background-color : #00CCFF; }
.style2 {font-size: 24px;
Font-family: "Courier New" ,Courier,monospace;
Font-weight: bold;
Coloe: #CC0000;
}
.style3 {Coloe: #9900FF;
Font-weight : bold;
}
.style4 {Coloe: #000000;}
</style></head>
<body>
<div align = "center" class = "style2" >การออกแบบ wed pages ด้วย CSS </div><p><span class ="style3”> 1.",CSS (Cascading Style Sheet)"</span><span class = :"style4">
เทคโนโลยีที่ใช้กำหนดรูปแบบของเอกสารหรือเว็บเพจเพื่อให้สามารถจัดวางตำแหน่งข้อมูลหรือรูปแบบต่างๆ ภายในเอกสารโดย CSS จะแยกส่วนการจัดวาง </span><span class = :style3”>"รูปแบบ(Layout)"</span><span class = "style4">ออกจาก </span><span class = "style3">"เนื้อหา(Content)"</span><span class = "style4">ที่จะแสดงบเว็บเพจ</span></p>
</body>
</html>
|
ไม่มีความคิดเห็น:
แสดงความคิดเห็น