發新話題

[資訊] [教學] 網頁製作語法

[資訊] [教學] 網頁製作語法

【貼圖語法】

<img src="您的圖片位置">
【加入連接的語法】
<a href="連接內容">文字或圖片</a>

【斷行】
輸入<br>即可

【將文字置中】
輸入<center>文字</center>

【加入背景圖】
<style><!--body {background:url(背景圖的網址); }--></style>

【加入音樂】
<bgsound src="音樂檔的網址" loop="-1">

【於網頁左上打標題】
<script>document.title="網站名稱";</script>

【捲軸變色】
<style type="text/css"> <!-- BODY { scrollbar-face-color:#FF0000;
scrollbar-highlight-color:#FF80C0; scrollbar-3dlight-color:#800040; scrollbar-darkshadow-color:#800040;
scrollbar-shadow-color:#FF00FF; scrollbar-arrow-color:#FF8080;
scrollbar-track-color:#400080; } --> </style>

【去除廣告】
<script language=javascript>window.document.all[5].style.display='none';</script>

【改變連接文字色】
<style TYPE="text/css"> <!- A:link {text-decoration: none; color: #0080c0;}
A:visited {text-decoration: none; color: #0080c0;} A:active {text-decoration:
none; color: ffffff;background:#0080c0} A:hover {text-decoration: none; color:
#oo8oc0;background:#d9e9ee} --></style>

【改變文字顏色】
<style>BODY,TABLE{color:顏色;}</style>

【字的顏色和大小】
<style>BODY,TABLE{color:顏色;font-size:字的大小;}</style> 

【十字游標】
<style>BODY{cursor:crosshair;}</style> 

【游標在連結的地方時才會變十字】
<style>A{cursor:crosshair;}</style>
十字型 crosshair  

十字箭頭move   

加一問號 help   

箭頭朝上 n-resize     
箭頭朝下s-resize     
箭頭朝右 e-resize   
箭頭朝左 w-resize   
箭頭朝右上 ne-resize   
箭頭朝左上 nw-resize  

【留言簿外框(單格)】
<style type="text/css">table
{font-size: 文字大小;
color: 文字顏色; width: 寬度;
border-style: solid; border-width: 框線粗細;
border-color: 框線顏色; background-image: url(背景圖網址)}</style>

【留言簿外框(單格)-2】
<style>TABLE{border:粗細
線條顏色 solid;background: url(背景圖片);}</style>

【留言簿外框(多格)】
<style>BODY{cursor:crosshair;}TD{border:1 #72A6F3 solid;background:#C2E3F8;}TABLE{border:1
#748DF1;background: url();filter:alpha(opacity=60);}A{cursor:hand;}A:HOVER{color:#FBAEF9;background:#EFCAFD;}A:VISITED{color:#A798F7;background:#EFCAFD;}</style><SCRIPT>document.all[document.images[0].sourceIndex-10].style.display="none";</SCRIPT><bgsound
src="http://home.kimo.com.tw/silverblue1116/midi/SEKAI.mid" loop="-1">

TOP

發新話題

本站所有圖文均屬網友發表,僅代表作者的觀點與本站無關,如有侵權請通知版主會盡快刪除。