立即注册 登录
心灵家园 返回首页

丑了点的个人空间 http://www2.heartxin.com/?15682 [收藏] [复制] [分享] [RSS]

日志

【收集一些有用的代码】

已有 379 次阅读2015-5-10 20:45

 

【收集一些有用的代码】

 

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=300 height=45 type=audio/mpeg 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>

24)插入文章背景:<TABLE width="100%" border=0>

<TBODY>

<TR>

<TD background=背景图片URL地址 height=50>

<P>文章内容</P></TD></TR></TBODY></TABLE>

(3)具体步骤

1)加音乐

音乐地址:可以通过百度MP3搜索你想要加入的歌,然后点一个听一下,这时页面上会有一个类似“http:www.xxxxxxxx.mp3”这样的网址,这就是音乐地址。(注意:要先点击听一下,如果不卡再用。)

<embed src=音乐地址 width=300 height=45 type=audio/mpeg autostart="false">

把以上代码中的autostart="false"改为autostart="true"就可以让音乐自动播放。

2)天气预报(代码如下)

<H2><IFRAME align=center marginWidth=0 marginHeight=0 src="http://weather.news.qq.com/inc/ss211.htm" frameBorder=0 width=189 scrolling=no height=190></IFRAME></H2>

3)涂鸦板(代码如下)

<EMBED pluginspage=_Prod_Version=ShockwaveFlash src=http://flash.haoniub.com/flash_data/fe_f/6633.swf width=280 height=300 type=application/x-shockwave-flash quality="high">

4)词典(代码如下)

<TABLE cellSpacing=0 cellPadding=0 align=center border=0>

<TBODY>

<TR>

<TD>输入您要查询的单词(汉语/英语)<BR>

<FORM action=http://www.netat.net/word.jsp method=post target=_blank><INPUT size=22 type=submit value=查询词典

6)鼠标指针(代码如下)

<DIV>

<STYLE type=text/css>

a:hover { cursor:url('鼠标地址一')}

BODY { cursor:url('鼠标地址二')}

</STYLE></DIV>

鼠标地址 到CSS鼠标样式大全http://myok.blogchina.com/2081936.html去找一个想要的吧!(注意:鼠标地址只是像这样的“http://webme.bokee.com/inc/mouse001.ani”)

7)时钟(代码如下)

<DIV><CENTER><EMBED src=时钟地址 width=178 height=178 type=application/octet-stream></CENTER></DIV>

时钟地址 到http://myok.blogchina.com/2394396.html里找

8)文字从下至上滚动(代码如下)

<MARQUEE scrollAmount=1 scrollDelay=77 direction=up width=270 height=77 >叶的离去 <BR>是因为风的追逐 <BR>还是树的不留恋呢 <BR>或许 <BR>叶的离开 <BR>正是叶自己的选择</MARQUEE>

(只要把想写的字放到代码中汉字的位子就可以了,如果不够就多打几个<BR>,字写在2个<BR>之间)

9)透明FLASH特效(代码如下)

<DIV><EMBED style="LEFT: 10px; ; TOP: -70px" align=right src="FLASH地址" width=800 height=600 type=application/x-shockwave-flash wmode="transparent" quality="high" ;></EMBED></DIV>

FLASH地址

http://imgfree.21cn.com/free/flash/51.swf三只飞舞的蜻蜓、闪闪的星光

http://imgfree.21cn.com/free/flash/52.swf黑色背景飘落的红叶

http://imgfree.21cn.com/free/flash/53.swf雪糕降落

http://imgfree.21cn.com/free/flash/54.swf绿色的心和I love you垂直降落

http://imgfree.21cn.com/free/flash/55.swf两只跳跃的青蛙

http://imgfree.21cn.com/free/flash/56.swf六边形、降落的竖条

http://imgfree.21cn.com/free/flash/57.swf燕鱼和水泡

http://imgfree.21cn.com/free/flash/58.swf光晕、光圈

http://imgfree.21cn.com/free/flash/59.swf浅兰背景白色大雁飞过

http://imgfree.21cn.com/free/flash/60.swf黑色背景降落的萤火虫

http://imgfree.21cn.com/free/flash/61.swf飞腾的红心

http://imgfree.21cn.com/free/flash/62.swf五彩礼花燃放

http://imgfree.21cn.com/free/flash/63.swf黄色的四瓣花飘落

http://imgfree.21cn.com/free/flash/64.swf浅蓝色的雪花在空中,小雪花降落

http://imgfree.21cn.com/free/flash/65.swf飘落的空心小兰圈

http://imgfree.21cn.com/free/flash/66.swf一只手的图形

http://imgfree.21cn.com/free/flash/67.swf由远而近飞来的流星

http://imgfree.21cn.com/free/flash/68.swf黑色背景飘落的雪花

http://imgfree.21cn.com/free/flash/69.swf七彩光光芒四射(全屏)

http://imgfree.21cn.com/free/flash/70.swf七彩光光芒四射(全屏)

http://imgfree.21cn.com/free/flash/71.swf闪动的小竖条

http://imgfree.21cn.com/free/flash/72.swf一只和平鸽展翅飞舞

http://imgfree.21cn.com/free/flash/73.swf蓝色背景蓝色气泡慢慢升空

http://imgfree.21cn.com/free/flash/74.swf白色背景浅蓝色的气泡慢慢升空

http://imgfree.21cn.com/free/flash/75.swf跟随鼠标游动的七彩光圈

http://imgfree.21cn.com/free/flash/76.swf 线条变形

http://imgfree.21cn.com/free/flash/77.swf蓝色旋转

 

1、显示IP地址:

  <align=center><IMG src=http://www.myelogo.com/elogo_user/2.jpg></P>

 

2、留言本:

   先申请一个留言本,网上可多了。插入一下代码(更改成您的地址):

   <a href="http://www.babylover.net/free/free1/index.asp?user=ybcz0519

" target="_blank"><font color="red">给我留言</font></a>

 

3、插入QQ:

<a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=2028884&Site=http://www.blog.163.com/ybcz0519/&Menu=yes><img border="0" SRC=http://wpa.qq.com/pa?p=1:2028884:13 alt="发消息"></a>

 

4、你的QQ秀:

<IMG src="http://qqshow-user.tencent.com/2028884/10/00">

 

5、计数器:

<div align="center"><a href="http://www.ezisp.info/dialup/netzero.html"><fontcolor="#999999">NetZero Internet</font></a></small></div>

 

6、时钟:更多请见  漂亮的时钟

<embed src="http://www.clocklink.com/clocks/1004-White.swf?TimeZone=NZT&"  width="150" height="150" wmode="transparent" type="application/x-shockwave-flash">

 

7、日历

<embed src="http://www.nshen.net/blog/attachments/month_0505/rili.swf" width="180" type="application/x-shockwave-flash"></embed>

 

8、播放器:

<embed src=http://www.filelodge.com/files/room16/409917/singlemp3player.swf?file=http://gaea.hit.edu.cn/d03/2003/05/31/011.mp3&autoStart=true&backColor=000000&frontColor=ffffff width="180" height="19" type="application/x-shockwave-flash"></embed><p></p

9、图片特效:

基本代码:

<img src="http://www.blog.163.com/photo/8I2RagMovA3eqTr4SRsC9w==/2000442659482641547.jpg" style="filter:效果">

或<div style="filter:效果 ;width:80;height:80"><img src="

特效方法:将特效代码替换“效果”即可。

A、柔化效果:Alpha(opacity=100,finishOpacity=0,style=0)

B、翻转效果:左右翻转FlipH; 上下翻转FlipV

C、灰调格式:Gray

D、X光效果:Xray

E、色彩对换:Invert

F、模糊效果:Blur(direction=135)

G、波形效果:Wave(freq=5,strength=5,lightstrength=5,phase=5)



 


路过

雷人

握手

鲜花

鸡蛋

全部作者的其他最新日志

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 立即注册

小黑屋|手机版|Archiver|心灵家园 ( 粤ICP备2022134291号-1 )

GMT+8, 2024-5-19 03:27 , Processed in 0.030640 second(s), 17 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部