個人檔案关灵的树洞相片部落格清單更多 工具 說明
16 August

html基础知识

html基础知识

注:以下内容中有一部分特效在SPACES空间中暂不支持。
 
1)贴图:<img src="图片地址">

2)加入连接:<a href="所要连接的相关地址">写上你想写的字</a>

3)在新窗口打开连接:<a href="相关地址" target="_blank">写上要写的字</a>

4)移动字体(走马灯):<marquee>写上你想写的字</marquee>

5)字体加粗:<b>写上你想写的字</b>

6)字体斜体:<i>写上你想写的字</i>

7)字体下划线: <u>写上你想写的字</u>

8)字体删除线: <s>写上你想写的字</s>

9)字体加大: <big>写上你想写的字</big>

10)字体控制大小:<h1>写上你想写的字</h1> (其中字体大小可从h1-h5,h1最大,h5最小)

11)更改字体颜色:<font color="#value">写上你想写的字</font>(其中value值在000000与ffffff(16位进制)之间

12)消除连接的下划线:<a href="相关地址" style="text-decoration:none">写上你想写的字</a>

13)贴音乐:<embed src="音乐地址" width="宽度" height="高度" autostart=false>

14)贴flash: <embed src="flash地址" width="宽度" height="高度">
15)贴影视文件:<img dynsrc="文件地址" width="宽度" height="高度" start=mouseover>

16)换行:<br>

17)段落:<p>段落</p>

18)原始文字样式:<pre>正文</pre>

19)换帖子背景:<body background="背景图片地址">

20)固定帖子背景不随滚动条滚动:<body background="背景图片地址" body
bgproperties=fixed>

21)定制帖子背景颜色:<body bgcolor="#value">(value值见10)

22)帖子背景音乐:<bgsound="背景音乐地址" loop=infinite>

23)贴网页:<iframe src="相关地址" width="宽度" height="高度"></iframe>
    
跳动的字:
<center><font face=隶书 color=red size=15>
<marquee direction=up behavior=alternate width=60 height=120>祝</marquee><font color=yellow>
<marquee direction=up behavior=alternate width=60 height=80>梦</marquee><font color=brown>
<marquee direction=up behavior=alternate width=60 height=120>幻</marquee><font color=green>
<marquee direction=up behavior=alternate width=60 height=80>小</marquee><font color=orange>
<marquee direction=up behavior=alternate width=60 height=120>屋</marquee><font color=yellow>
<marquee direction=up behavior=alternate width=60 height=80>开</marquee><font color=orange>
<marquee direction=up behavior=alternate width=60 height=120>坛</marquee></font></b></marquee></font></center></font></font></font></font></font></font>

飞舞的字:
<marquee scrollamount=8 direction=right behavior=alternate><b><font color=#7700bb size=5><font color=lime>
<marquee direction=up behavior=alternate width=40 height=200 align="middle">梦</marquee><font color=red>
<marquee direction=up behavior=alternate width=40 height=150>幻</marquee><font color=orange>
<marquee direction=up behavior=alternate width=40 height=200>小</marquee><font color=fuchsia>
<marquee direction=up behavior=alternate width=40 height=150>屋</marquee><font color=olive>
<marquee direction=up behavior=alternate width=40 height=200>论</marquee><font color=green>
<marquee direction=up behavior=alternate width=40 height=150>坛</marquee><font color=red>
<marquee direction=up behavior=alternate width=40 height=200>!</marquee><font color=orange>
<marquee direction=up behavior=alternate width=40 height=150>!</marquee><font color=orange></font></b></marquee>
 
 
图片倒影效果:
(使用时必须去掉"html"旁边"自动修正"的钩.)
<p align=center><font style="font-size: 27pt; width: 220px; color: #00ff00; height: 10px"><img src="http://www.smba-china.com/upload/upfile/2004430154320.gif"><font id=ew style="font-size: 27pt; filter: wave(strength=3,freq=3,phase=0,lightstrength=30) blur() flipv(); width: 220px; color: #3333ff; height: 10px"><img src="http://www.smba-china.com/upload/upfile/2004430154320.gif"></p></font></font><br><br>

加入背景音乐代码:

<embed src=http://www.flamesky.org/raynal-onwer/asoka%20theme..wma.wma hidden=true type=audio/x-ms-wma loop="true" autostart="true"></embed>
 
加播放器
<embed src="http://mother.nease.net/song/mother17.wma"
 autostart="true" loop="-1" controls="controlpanel" width=
"260" height="20" >

以下代码是让滚动文字字幕的代码:

<marquee scrollamount=3 direction=up height=50>
<center><font face=黑体 color=blue size=5><b>文字一<br><br>文字二<br><br>文字三<br><br>文字四<br><br>文字五</b></font> <br><br>
</center></marquee>

<marquee >里面的参数修改一下,效果将不一样,这里仅提醒一下direction参数,可以改为向下(down)、向左(left)和向右(right)。


带框的图片代码

<a href="http://www.ngjc.net/upload/forum/200441875942.jpg" target=_blank><img src="http://www.ngjc.net/upload/forum/200441875942.jpg"></a>

 


1.居中透明代码(直接复制就可以用)
 

<STYLE type=text/css><!--body {background-image:url(http://731723.anyp.cn/UserData/Data184/USID200411110922531429/photoes/050606170029125.jpg);background-repeat:no-repeat;background-attachment:fixed;background-position:50% 50%}--> </STYLE>
</TD>

2.禁止别人复制你的内容:(下面的汉字可以换自己喜欢的字)
 

<!--StartFragment--><SCRIPT language="javascript">
function click() {if (event.button==2) {alert('本页面禁止鼠标右键');}}document.onmousedown=click
</SCRIPT>


3.背景不停的变化颜色:

<SCRIPT language=javascript><!--

var pos=10;function initArray(){this.length=initArray.arguments.length;

for(var i=0;i<this.length;i++){this[i]=initArray.arguments[i];}}

var col=new initArray("4b","5b","8b","8b");

col[0]="yellow";col[1]="coral";col[2]="orange";col[3]="red";

col[4]="greenyellow";col[5]="lime";col[6]="turquoise";col[7]="coral";

col[8]="blueviolet";col[9]="violet";

function chgCol(){pos++;if(pos<0||pos>9){pos=0;}document.bgColor=col[pos];

setTimeout("chgCol()",3000);/*这里你可以改变时间间隔.*/

}

var yourwords="不断变化背景色彩";var buffer1=" ";

var buffer2=" ";

var message1=buffer1+yourwords+buffer2;

var dir="left";var speed=150;function pingpong(){

if(dir=="left")

{message2=message1.substring(2,message1.length)+" ";

window.status=message2;setTimeout("pingpong();",speed);message1=message2;

if(message1.substring(0,1)=="*")dir="right";}

else{message2=" "+message1.substring(0,message1.length-2);

window.status=message2;setTimeout("pingpong();",speed);

message1=message2;if(message1.substring(message1.length-1,message1.length)=="*")dir="left";}}//

-->

</SCRIPT>

<body bgColor=#ffffff onload="chgCol(); pingpong();">

4.页面上面游动的鱼:

<EMBED align=right height=750 src=http://chaozsq.home.sunbo.net/xfile.php?xname=13GI401&amp;fname=yu.swf style="LEFT: 150px; POSITION: absolute; TOP: 20px; absolute: " type=application/x-shockwave-flash width=1000 wmode="transparent" quality="high" ;;>
 

5.下雨特效:

<EMBED align=right height=600 src=http://yj2605.home.bj001.net/xfile.php?xname=RQJUC01&amp;fname=6.swf style="LEFT: 150px; POSITION: absolute; TOP: 20px; absolute: " type=application/x-shockwave-flash width=800 ;; quality="high" wmode="transparent">

6.青蛙戏水:

<EMBED align=right height=350 src=http://yj2605.home.bj001.net/xfile.php?xname=RQJUC01&amp;fname=8.swf style="LEFT: 150px; POSITION: absolute; TOP: 20px; absolute: " type=application/x-shockwave-flash width=500 ;; quality="high" wmode="transparent">

 

  

回應 (3)

請稍候...
很抱歉,您輸入的回應過長。請縮短您的回應。
您尚未輸入內容,請再試一次。
很抱歉,目前無法新增您的回應,請稍後再試。
若要新增回應,您的父母必須先給您權限。要求權限
您的家長已關閉回應功能。
很抱歉,目前無法刪除您的回應,請稍後再試。
您已超過每日回應上限次數,請於 24 小時後再試一次。
由於系統顯示您可能傳送垃圾郵件給其他使用者,因此您帳號中的回應功能已遭停用。 如果您認為自己帳號遭錯誤停用,請連絡 Windows Live 支援
請完成下列安全檢查,以完成回應。
您輸入的安全檢查字元必須與圖片或音訊中的字元相符。

若要新增回應,請以您的 Windows Live ID 登入 (若您使用 Hotmail、Messenger 或 Xbox LIVE,則您已擁有 Windows Live ID)。登入


沒有 Windows Live ID?註冊

匿名 的圖片
xiaoyumissyou 撰寫:
我也来踩了,你做的好漂亮哦,可惜我不太会,见笑了,呵`
10 月 17 日
匿名 的圖片
ellie 撰寫:
我是个没常性的人,还好你能适应...
8 月 24 日
匿名 的圖片
KatrinaLeng 撰寫:
呵呵。。。哪有人伤害我啊。。。误会误会!呵呵
8 月 20 日

引用通告

此內容的引用通告是:
http://guanling.spaces.live.com/blog/cns!F166C7CC51C30A4E!569.trak
引述這則內容的部落格