数位内容导论第11讲.docVIP

  • 2
  • 0
  • 约1.25千字
  • 约 3页
  • 2017-05-31 发布于天津
  • 举报
数位内容导论第11讲.doc

數位內容導論第11講 CSS 排版樣式的用法 2. embeding , 先定義 css 樣式的類別(class)或者識別碼(id),然後在tag上使用 class的屬性或id屬性. ↓ class=”1- -“ id=”- -“ P P.class .class 3. linking, 將 css 樣式的class或id定義在一個檔案(.css檔),然後在tag上使用 class的屬性或id屬性. .css CSS Linking用法的例子 titleMy first XHTML page/title link rel=stylesheet type=text/css href=css1.css / →參考到外部檔css1.css /head body pThis is my first XHTML page/p p class=bigsansThis is the second paragraph of my first XHTML page/p css的類別 /body/html CSS Linking用法的例子 font-size

文档评论(0)

1亿VIP精品文档

相关文档