灵님의 프로필关灵的树洞사진블로그리스트기타 도구 도움말
    8월 16일

    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로 로그인하세요. 핫메일, 메신저 또는 Xbox LIVE를 사용하는 경우 해당 계정을 Windows Live ID로 사용할 수 있습니다.로그인


    Windows Live ID가 없으신가요? 등록

    알 수 없음님의 사진
    xiaoyumissyou 님이 남긴 글:
    我也来踩了,你做的好漂亮哦,可惜我不太会,见笑了,呵`
    10월 17일
    알 수 없음님의 사진
    ellie 님이 남긴 글:
    我是个没常性的人,还好你能适应...
    8월 24일
    알 수 없음님의 사진
    KatrinaLeng 님이 남긴 글:
    呵呵。。。哪有人伤害我啊。。。误会误会!呵呵
    8월 20일

    트랙백

    이 블로그의 트랙백 URL은 다음과 같습니다.
    http://guanling.spaces.live.com/blog/cns!F166C7CC51C30A4E!569.trak
    이 블로그를 참조하는 웹 로그
    • 없음