一、最常用的代码
a8f#q]TyQ 1!KROes4 2}A)5P*K |L8
[+_m 1、文字加粗 倾斜的代码
~x^y5[5{ a$"nNm D? ◆文字加粗的代码是: <b>你好</b> ◆文字倾斜的代码是: <i>你好!</i> ◆底线字:<u></u>
%(1OjfZc \y5lYb,*c_ E=N$JM *qwN9b/! 2、文字链接代码
KGYbPty} &h0LWPl 如果您想点击某处文字会连接到另外一个网页的效果,这是超链接,代码是这样:
$
]s^M=8 .`}TND~ <a href="网站地址";>九州在线</a>如果要点了这个文字以后重新打开一个窗口的话,代码是:<a href="网站地址";; target="_blank">九州在线</a>
tL$,]I$1+ bGCC?}\ v-tI`Qpb &t[[4+Qt 3、在网站上放图片的代码
pM?~AYWb V
9Qt;]mQ 如果你看到一个好看的图片想放到网站上,代码是这样的:
6u0>3-[6OD [(heE
<img src="
"; width="150" height="100">
taE
p NX&dJ
6a 后面的数字调节图片的尺寸大小。
m ol,iM*l f6%k;R.Wz hSm?Z!+ gsbr8zwG, 4、图片链接代码
}PBme'kP &VGV0K3Dp 如果要点一下图片就能打开一个网站的链接代码是这样的:
~.:{
Ik] 1.du#w <a href="
http://www.123.com";><img src="
"; width="150" height="100"></a>
~_fc=^o )8A.Wg4S;c 如果要点一下图片就能打开一个网站的链接,并且重新打开一个窗口。代码是这样的:
p^pd7)sBr ^%$IdDx <a href="
http://www.123.com";; target="_blank"><img src="
"; width="150" height="100"></a>上面的数字都能调节图片尺寸大小。
9"S2KT @8 SZF 8InyF 只显示图片代码: <img border=0 src="图片地址" height=100 width=100>
O>' }q/ k24I1DlR8 KnkmGy ,{PN6B 5、换行代码
98Vv K? wH ,PA: 如果你想换行,直接用Enter键是不行的,需要在您想换行的位置输入<br>
G'\[dwD,u -TF},V~ ,这样就会分成两行显示 ,整个网站看起来也不会是一大片了,而是段落分明。
)/jDt dI TRi'l #m4 rWTaCU^qV .V
hU:_u 6、移动文字
U4"^NLAq 3+Lwtb}XPF <marquee width="157" height="21">你想要的文字</marquee>
b-_l&;NWg JTKS5r7? M2Nh3ijr =3035{\ 7、移动图片的代码
!igPyhi,hl d~aTjf <marquee><img src="
";><img src="
";><img src="
";><marquee>
".>#Qp% N/o?\q8 把里面的图片地址换成你的就行 想多放一个图片就按照格式在中间插入:
L ci? +ywz@0nx <img src="
";>
TB>_#+: ~!({Unt+' 里面的图片地址自己定。
nOPB*{r| R|RGoGE6g 2E-Kz?,:[ 0kUhz\"R:q f/sz/KC]~ K}cZK 二、比较常用的代码
cIO/8D#zU ;-1KPDIp` NuO@Nr dcrvEc_/ 1. Flash代码 (写在日记内容里,或者在主页新模块的网址里) [代码中的Flash地址就是网上以.swf结尾的网址]
^6l5@#)w XO;_F"H= <embed src=’http://你的Flash地址’quality=high pluginspage=’
http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash’ type=’application/x-shockwave-flash’ width=330 height=240></embed>
s>DFAu! @{IX
do 注意: width=330 height=240 这个是指在模板上插入的FLASH的大小。 width=是宽度 height=是高度 所有代码都是一样,可以自己修改下.
:7(fBf5 vVB WhY] t 9(,JC0 Ue9d0#9 yFAUD
ro w?D= 2. 背景音乐代码 (写在超级连接名称里) [代码中的音乐地址就是网上以.mp3/.midi/.wma/.wmv结尾的网址]
Z%?>H iy'o Idu'+O4 显示播放器: <EMBED src=http://你的音乐地址>
#`@)lU+/ `&=%p| 不显示播放器: <EMBED SRC=http://你的音乐地址 width="0" height="0" loop="true">
HHx5VI `V/kM0A5 F~v0CBcAL t,Tq3zB AIP0PJI3 C,ldi"| 3. 视频MTV代码 (写在网址处~也就是URL地址的地方) [代码中的视频文件地址就是网上以.rm结尾的网址]
VnN(lJ <e Y2}Ml <embed SRC=你的视频文件地址 type=audio/x-pn-realaudio-plugin CONSOLE=Clip1
GfgHFv xz`0V}dPl CONTROLS=ImageWindow HEIGHT=124 WIDTH=180 AUTOSTART=true loop=true>
~p+
`pwjY1 r6D3u(kMb ↑高度 ↑宽度
^Cp;#|g, N8T.Ye N 还一个MTV代码也可用 <embed src=http://你的mtv地址> 这个只是不能调整大小.
nVpDjUpN *r4FOA%P HZ(giAyjq P=_W{6 N/C$8D34 kJ* N`= 4. 电台代码 [代码中的电台地址就是网上以.asp结尾的网址] (写在网址处就是URL地址处)
2x gk$E$ 7 2kgSIvk\ <embed SRC=你的电台地址 type=audio/x-pn-realaudio-plugin CONSOLE=Clip1 CONTROLS=ImageWindow HEIGHT=124 WIDTH=180 AUTOSTART=true loop=true>
Cf 202pF3y J^WX^".E 例如: (随自己喜欢,一些DJ电台好玩哦!)
shLMj)7! v?d`fd mms://220.191.131.206/jxyinyue 9AWP`~l` 2(Xu?W 7d 'Q*.[aJt t.!?"kP"c iqF|IVPoi "MPS&OK 5. 移动公告<marquee style="color:#3333FF;font-size:12px;line-height:17px;" direction="up" height="50" scrollamount="1" scrolldelay="615" onMouseOver="this.scrollDelay=500" onMouseOut="this.scrollDelay=1">歡迎光臨我的Q-ZONE
H H3Z?g OHY|< &* <br>又说什么.
4Qi-zNNB MO1H?Uhx <br>这里又说什么.
jJ
RaY3 (Ms0pm-#t <br>还要说什么.
>y!R}`&0^t PE_JO(e;Xm <br>哈哈,没有了,自己想添加多少可以复制多行就可以了~~!
FrRUAoFO TCgW^iu <br>这样明白吗?
\^cXmyQ <% |]HA@7B </td></marquee>
-lfbn=3 )*}?EI4. 注:
1vh[sKv9% sVlQ5M oo( direction="up" 将UP改为down就是下移动,左left,右right```
u3cl7~- yW t ,EMyZ font-size:12px 字体大小
1Si$Q wgQx.8 h> color:#3333FF 字体颜色 #333FF
"?_af NwKj@ Jos OJFWmZ(X {XXnMO4uR; 6.移动友情连接代码,跟上面一样可以修改!
%4wHiCOg j\@&poJ(, <marquee direction=up height=150 scrollamount=1 scrolldelay=60 width="100%">
^C2SLLgeJ M3fTUCR <img border=0 src="图片地址1"><br>
q:wz!~(> \Jwc[R&x <img border=0 src="图片地址2"><br>
7a4Z~r27/ @6y)wA9Yx <img border=0 src="图片地址3"><br>
I!Fd~g9I4 H:q;IYE+a <img border=0 src="图片地址4"><br>
tt&{f <* /RF&@NJE5 </marquee>
B}I9+/|{ jU{~3Gn? 需要加多少自己加吧! 滚动上下左右修改方法跟上面移动公告一样!
z>*\nomOn= "JgwL_2 c&g*nDuDj cVaGgP}\ u&j_;Y !6 <.
V*]g/; 7.天气预报:
+^$E)Ol G1SOvdq <iframe scrolling=YES height=288 width=222 frameborder=0 marginHeight=0 marginWidth=0 src=http://minisite.qq.com/Weather/index.html></iframe>
~qE:Nz0@ Q^'xVS_. "Qk)EY \mFgjPz q^}iXE~ |-]'~@~ 8. 音乐播放:
^HWa owy= nKch:g <iframe src=音乐地址 frameborder=0 width=100% height=34>
^aqBL /9ZU_y4&3f 7!
/+[G
*n9=Q9 <embed src="
http://www.6kyx.com/Music/lz.wma" hidden autostart="true" loop="true">
=pb ru=/ &3 x
[0DV fHgvh&FU \
Ju7.3. 9.网页中加入背景音乐
C:vVFU|4 cE*d(g IE: <bgsound src="*.mid" loop=infinite>
.6pVt_f0/ ]&"01M~+K NS:<embed src="*.mid" autostart=true hidden=true loop=true>
nCLEAe$W\= kq>I?wg eY`o=xN 5>fAO =u!Q 10. 主页加flash时钟:
pE{Ecrc3| ]4,eCT <EMBED pluginspage=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash src="flash时钟网址" width=200 height=200 type=application/x-shockwave-flash></EMBED>
YN7JJJ/~T 4
udW6U 多种flash时钟地址:
rouaT vSwRj<|CF http://www.fengzhuju.com/page-00s/wzgg/clocks.htm ;!v2kVuS] XXBN
Nr_CK Y!N*J ^2rNty,nH }1VxMx@ 8*-8"It<" 11. 许愿代码:
$vlq]6V8 p%pM3<p <iframe name="jiro22" src="
http://free.ecaifly.com/wish/wish.asp?user=kjmdiba" width="450" height="350"></iframe>
Ne!F
p =UE/GTbl B&ItA76 "l &=a1l >RZ]t[)y {EE/3e@ 12. 百度搜索: (大小都调好的,不错!)
rJ|Q%utYz osPJ%I`^ <iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0" framespacing="0" frameborder="0" scrolling="no" width="140" height="75" src="
http://unstat.baidu.com/bdun.bsc?tn=kjmdiba&csid=105&rkcs=0&bgcr=FFFFFF&ftcr=000000&rk=0&bd=1&bdas=0">
bi;?)7p&ZY %5Hsd </iframe>
y!) bw\fKZ veIR)i@dx {>PN}fk2QP :34]}`- A{3Aw| ; 13. 主页滚动新闻:如 CCTV代码:
&7"a.&*9xX 78zjC6}` <table border=0 cellspacing=1 cellpadding=0 width=’98%’>
e=ZwhRP dfl| 6R <td valign="top"><div align="center">
<+I^K 7
*5?a%p <iframe src="
http://www.cctv.com/homepage/46/index.shtml"; name="express" width="354" height="16" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe>
/I&Hq7SW` exT
O#*o </div>
ilJeI@ H'7AIY} </table>
~'>RK QFt7L 2NHuZ.af 6$c,#%Jt* 14. 日历代码:
_yk}
[x0> ['~j1!/;6 <iframe name="jiro23" src="
http://astro.sina.com.cn/calendar1.htm" width="600" height="600"></iframe>
E`s9SE 65X31vU 大小自己改
oE@{h$= |:yQOq| 7yp7`|,p ]4~-
z3=y ."b=dkx 7oaa) 15. 插入网页代码: (整个网站都可以,这个代码灵活运用的话是很好的~~)
5dOA^P@`,M juOOD <IFRAME frameBorder=0 height=600 marginHeight=0 marginWidth=0 scrolling=yes src="网页地址" width=800></IFRAME>
4bXAA9" DwM4/m uMOm<kn U7O]g'BP 3S='/^l ER,,K._?B 16. 设为首页代码:
kB_u U !G xHEkmL`)4 <a style=cursor:hand onclick=this.style.behavior=’url(#default#homepage)’;this.setHomePage(’你空间的地址’)>设为首页</a>
t95hI DtD ^,S\-Uy9 $__e7 C {.{>M $tvGS6p> 2}`Q9? 17. IP地址代码:
R:=C :()(P9? <iframe src="
http://ip.91.com/ip/showip.asp?text=&bg=&line=2&scro=1&leng=140" frameborder="0" scrolling="no" width="160" height="36" marginheight="4" marginwidth="0"></iframe>
N}{CL(xi <jdS0YT
2{naSiaq 48,Aq*JFw f:iK5g 'G z>X : 18. 星座占卜: 1
MU5@(s3B? : sIZ+3 <iframe src="
http://astro.qq.com/index/ladyastro.htm" width="200" height="320" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
0[6llcuj t6
:;0[j 星座占卜: 2
EN@LB2 /_~b~3{u <iframe src="
http://act1.astro.women.sohu.com/search/search.htm" width="200" height="320" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
n=v4m_e 4/D~H+k pNpj, H*4 ]RHR> =; q|m8G n0:+D
R 19. 日历代码:
=QEg~sD^)s ;aYPv8s~,: 红色时间日历代码:
,-u | l U,/NygB~ <iframe scrolling=no height=170 width=165 frameborder=0 marginHeight=0 marginWidth=0 src=http://home.id666.com/user/420009598/disk/webdisk/55.html></iframe>
WH :+HNl1d jeb<qi> 蓝色时间日历代码:
AEkgm^t.{ oQ!} @CaN| <iframe scrolling=no height=200 width=180 frameborder=0 marginHeight=0 marginWidth=0 src=http://www.8s8s.com/js/htm/time/date1.htm></iframe>
uE:#m.Q &B3Eq1A #f]R:Ix> xXO& -v{ 9m56oT'U{ lD2>`s5 20. 弹出窗口代码:
%kD WUJZ o*/\oVOq 进入腾讯QQ空间主页:q-zone.qq.com,用自己的QQ号和密码登陆(注意:不要点击"进入我的空间")新建1个新窗口,在地址栏里输入 ("这里输入内容")</script> 然后按回车键,提示“修改成功”即可。
4@#1G*OO M0o=bYI l1`Zp9I FsZM_0>/s `g%]z@'+? xt
+fuL 21. 时间代码1:
Tp~yn )Y~q6D K <IMG src="
http://escati.linkopp.net/cgi-bin/clock.cgi?prgb=00ffff&timezone=GMT+0800" border="0" width="80" height="20">
heZ)+}U~ S|;a=K&hS 0<{/T*AU: {d(PH7R 时间代码2:
3@$h/xMJ WlP@Tm5g/ <iframe src="
http://bjtime.cn/time/?color=ff0000&size=9pt&bg=ffffff&bold=0" width=200 height=20 frameborder=0></iframe>
-a3+C,I8g =B1t?(" 参数说明:
^w2n )ACa0V>*p color-字体颜色,默认为000000
=Cs$0aA m'k`p5[=h size-字体大小,默认为18pt
: ` F>B CCq<y bg-背景颜色,默认为ffffff
~2@U85"o ~QBf78@Gf bold-是否粗体,1:是,0:不是,默认为1
_' n;rZ + ] >ipC,v width-显示区的宽度,请选择合适宽度
l=9& 4)2*|w height-显示区的高度,请选择合适高度
PyYKeo= .j88=t0
/7S]%UY |BH,
H 时间代码3:
1I3u~J3]/ 9[T#uh!DC <embed src="
http://biz.cnhoo.com/wz/test/top8.swf" quality="high" style="position: absolute; left: 20 top: 6; width:675px; height:208px" ;; wmode="transparent">
c'`7p/l. @{I55EQ] 2SG|]= 08k1 w,6W WS(@KN =5Q;quKu^5 gK)B3dH*& :Yz.Bfli 22.显示日期
MiRH i<g0 iXl1S[.l <script language="javascript"><!--
aE{b65'Dt iT^lk'?{O today=new Date();
AU'{aC+p * y(2BrL> var week; var date;
pNiqb+^nz vMRKs#&8 if(today.getDay()==0) week="星期日"
:+Dn]:\ UO:>^,(j if(today.getDay()==1) week="星期一"
y
Fp1@*ef MeplM$9 if(today.getDay()==2) week="星期二"
eazP'(rc STOE=TC> if(today.getDay()==3) week="星期三"
:cynZab fs)O7x-B( if(today.getDay()==4) week="星期四"
\17)=W -;~_]t^a if(today.getDay()==5) week="星期五"
R2J3R5S=[ tQl= if(today.getDay()==6) week="星期六"
Yhsb$wu fZ
%ZV date=(today.getYear())+"年"+(today.getMonth()+1)+"月"+today.getDate()+"日"+" "
/ TJTu_# g:,4Kd| document.write("<span style='font-size: 9pt;'>"+date+week+"</span>");
k2+Z7#2n 6kDU}]c:H] // -->
@K+u+}
R !6%mt} h </script>
])ALAAIc- e5>5/l]jsg Gp3nR<+ c>WpO Z, GKsL~;8" qqt.nrQ^ 23.邮箱链接代码:
C(1A8 >[%.h(h/% <a href="mailto:邮箱">邮箱名称</a>
L[D/#0qp 6=g]Y!o$ 邮箱如:
ttXXX@163.com 邮箱名称可以是中文也可以是其它。