当前位置:首页 > 网络世界 > 详细内容
网页常用基本代码
发布时间:2009/6/3  阅读次数:874  字体大小: 【】 【】【

网页基本代码大权

1)贴图:<img src="图片地址">
2)加入连接:<a href="所要连接的相关地址"> 写上你想写的字</a>
 带连接的图片</a> <a target="cont" href="地址"><img src="图片地址" width="100" height="100" border="0"></a>
3)在新窗口打开连接:<a href="相关地址" target="_blank">写上要写的字</a>
4)移动字体(走马灯):<marquee>写上你想写的字</marquee>
5)字体加粗:<b>写上你想写的字</b>
6)字体斜体:<i>写上你想写的字</i>
u>写上你想写的字</u>
s>写上你想写的字</s>
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>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)颜色代码:参见本站网页制作相关内容.
25)帖子里插入Flash代码:
  <embed src="Flash地址" width=500 height=340></embed>P align=center>。

  那么,在网页中发现自己喜欢的FLASH动画,如何窃取网址呢?我将在下一篇文章中详述,这里只介绍代码。
  26)插入mp3代码:
  <EMBED src="mp3地址" width=310 height=35 type=audio/x-pn-realaudio-plugin controls="ControlPanel,StatusBar" autostart="true" loop="true">
  支持rm或mid格式(随机播放):&nbsp;
  <EMBED src="rm\mp3\mid地址" width=150 height=25 type=audio/x-pn-realaudio-plugin controls="ControlPanel" autostart="true">
         EMBED src="rm\mp3地址" width=248 height=66 type=audio/x-pn-realaudio-plugin border="0">


   <embed width="0" height="0" src="MP3地址" type="application/x-shockwave-flash"></embed>
  27)视频常用播放器[MTV]
  <embed src="视频地址" type="audio/x-pn-realaudio-plugin" console="Clip1" controls="ControlPanel,StatusBar" height="330" width="450" autostart="true">
  28)插入背景音乐的代码:
  <bgsound src="mp3\mid地址" loop="-1">
  音乐地址一般都以mid或者mp3的形式结尾 后面的数字是播放次数。”-1”是循环播放。
  29)放透明flash的代码:
  <embed style=";" src=flash地址 width=700 height=780 wmode="transparent">

我要评论
  • 匿名发表
  • [添加到收藏夹]
  • 发表评论:(匿名发表无需登录,已登录用户可直接发表。) 登录状态:未登录
最新评论
所有评论[0]
    暂无已审核评论!

 版权信息©2008-2011 All Rights Reserved 
关于本站|我的web2.0|甘肃社科|技术验证
注册许可证:甘公网安备 62010502000826号

CNZZ: