部落格編輯基本語法


字體語法
<b>粗體字</b>

<strong>粗體字(強調)</strong>

<i>斜體字</i>
斜體字
<em>斜體字(強調)</em>

<dfn>斜體字(表示定義)</dfn>
<u>底線</u>

<strike>橫線</strike>
<s>刪除線</s>
<del>刪除線(表示刪除)</del>
<xmp>固定寬度字體(在文件中
空白、換行、定位功能有效)</xmp>
<plaintext>固定寬度字體(不執行標記符號)</plaintext>
<listing>固定寬度小字體</listing>
<sup>上標字</sup>
<sub>下標字</sub>
<basefont>設定基本字體大小</basefont>
<address>標註文字(斜體顯示)</address>
<q>引用文字</q>
<cite>引用文字(斜體顯示)</cite>
<blockquote>引用文字(右移)</blockquote>
<big>以基本字體加大一級</big>
<small>以基本字體減小一級</small>
<font style ="font-size:100 px">無限增大</font>
<font color="00ff00">字體顏色</font>
<font face="細明體">設定字型</font>
<br>水平線
<hr>換行
<p>換行

連結語法
<base href="位址">(預設好連結路徑)
<a href="位址"> 名稱 </a>
<a href="位址" target="_blank"> 開新視窗連結 </a>
<a href="位址" target="_top"> 全視窗連結 </a>
<a href="位址" target="頁框名"> 在指定頁框連結 </a>
<a name="錨名稱"> 內部連結(設置錨的名稱) </a>
<a href="#錨名稱"> 內部連結 </a>

貼圖語法
<img src="圖片位址">
<img src="圖片位址" width="180">可限制圖片寬度
<img src="圖片位址" height="30">可限制圖片高度
<img src="圖片位址" alt="提示文字">設定圖片提示文字
<img src="圖片位址" border="1">設定圖片邊框

跑馬燈
<marquee> 普通捲動 </marquee>
<marquee behavior="slide"> 滑動 </marquee>
<marquee behavior="scroll"> 預設捲動 </marquee>
<marquee direction="right"> 向右捲動 </marquee>
<marquee direction="left"> 向左捲動 </marquee>
<marquee direction="up"> 向上捲動 </marquee>
<marquee direction="down"> 向下捲動 </marquee>
<marquee behavior="alternate"> 來回捲動 </marquee>
<marquee loop="5"> 捲動次數 </marquee>
<marquee width="200"> 設定寬度 </marquee>
<marquee height="20"> 設定高度 </marquee>
<marquee bgcolor="FF0000"> 設定背景顏色 </marquee>
<marquee scrollamount="35"> 設定捲動距離 </marquee>
<marquee scrolldelay="200"> 設定捲動時間 </marquee>

arrow
arrow
    文章標籤
    語法教學 部落格
    全站熱搜

    network 發表在 痞客邦 留言(3) 人氣()