◆常用HTML標(biāo)簽代碼◆ ◆1.文字設(shè)置代碼: <font face=黑體 size=4 color=red>文字設(shè)置代碼</font>
◆2.大號(hào)文字設(shè)置代碼: <font face=黑體 style=font:50pt color=red>文字設(shè)置代碼</font>
◆3.文字的邊外加光輝效果代碼: <div style="FILTER: Glow(color=#0000ff,strength=12); HEIGHT: 6pt"> <FONT style="FONT-SIZE: 60pt;FONT-FAMILY:隸書; COLOR: #ffff00"> 如畫江山</FONT></div>
◆4.文字重疊效果代碼: <div style="FONT-SIZE:70pt;filter:dropshadow(color=#000000,offX=5,offY=3,Positive=1);WIDTH:100%; COLOR:#60A000;LINE-HEIGHT:150%"> <FONT style="FONT-FAMILY:隸書">社會(huì)主義好!</FONT> </div>
◆5.文字豎排代碼: <p align=RIGHT> <font style="WRITING-MODE: tb-rl"style=font:14pt color=0000ff> 更喜岷山千里雪,<br> 三軍過后盡開顏。<br> .....<br> </FONT></P>
◆6.一條橫線代碼: <CENTER> <HR SIZE=2 color=#ffff00 ALIGN=CENTER WIDTH="500"> </CENTER>
◆7.貼圖代碼1: <img src="圖片地址">
◆8.貼圖代碼2: <INPUT src="圖片地址" type=image width=500>
◆9.羽化圖片代碼: <INPUT style="FILTER: alpha(opacity=100,style=2)" INPUT src="圖片地址" type=image width=400>
◆10.超連接代碼: <A href="連接網(wǎng)頁地址" target=_blank>說明文字</A>
◆11.從左向右移動(dòng)的代碼: <MARQUEE scrollAmount=3 direction=right> 文字或圖片從左向右移動(dòng) </marquee>
◆12.從右向左移動(dòng)的代碼: <marquee scrollamount=2 direction=left> 文字或圖片從右向左移動(dòng) </marquee>
◆13.從下向上移動(dòng)的代碼: <marquee scrollamount=1 direction=up > 文字或圖片從下向上移動(dòng) </marquee>
◆14.從上向下移動(dòng)的代碼: <marquee scrollamount=5 direction=down >文字或圖片從下向上移動(dòng) </marquee>
◆15.左右來回走移動(dòng)的代碼: <marquee scrollamount=8 behavior=alternate > 文字或圖片左右來回走移動(dòng) </marquee>
◆16.相對(duì)定位代碼: <DIV style="LEFT: 0px; WIDTH: 500px; POSITION: relative; TOP: 20px; HEIGHT: 200px; ridge:"> </DIV>
◆17.絕對(duì)定位代碼: <DIV style="LEFT: 300px; WIDTH: 220px; POSITION: absolute; TOP: 20px; HEIGHT: 220px" > </DIV>
◆18.相對(duì)定位與絕對(duì)定位加疊圖片代碼: <DIV style="LEFT: 0px; WIDTH: 500px; POSITION: relative; TOP: 20px; HEIGHT: 200px; ridge:"> <DIV style="LEFT: 300px; WIDTH: 220px; POSITION: absolute; TOP: 20px; HEIGHT: 220px" > <INPUT type=image width=160 src="http://bbs./UploadFile/2008-6/20086111653319630.jpg" > </INPUT> </DIV> </DIV>
◆19.各種常用標(biāo)簽語句:
<BR> 過行單標(biāo)簽. <p></p> 過段標(biāo)簽. <pre>文字依原始樣式顯示標(biāo)簽</pre>
一個(gè)空格. <li>文字行首加一個(gè)圓點(diǎn).</li>圓點(diǎn)標(biāo)簽.
◆20.定位標(biāo)簽代碼:
<CENTER>內(nèi)容居中</CENTER> <DIV align=center> 內(nèi)容居中</DIV> <p align=CENTE>內(nèi)容居中</P> <p align=LEFT>內(nèi)容居左</P> <p align=RIGHT>內(nèi)容居右</P>
水平加豎直定位指令語句(放在表格的列標(biāo)簽內(nèi)): <td align=LEFT valign=top>居左靠頂</td> <td align=center valign=top>居中靠頂</td> <td align=right valign=top>居右靠頂</td> <td align=LEFT valign=bottom>居左靠底</td> <td align=center valign=bottom>居中靠底</td> <td align=right valign=bottom>居右靠底</td>
◆21.銀色播放器代碼: <EMBED src="音樂文件地址" width=500 height=50 type=audio/x-ms-wma autostart="true" loop="true">
|