常用的HTML代码「笔记」

  1. 加入连接:

    写上你想写的字

  2. 在新窗口打开连接:

    写上要写的字

  3. 移动字体(走马灯):

    写上你想写的字

  4. 背景音乐:

    <bgsound=”背景音乐地址” loop=infinite>

  5. 字体加粗:

    写上你想写的字

  6. 字体斜体:

    写上你想写的字

  7. 字体下划线:

    写上你想写的字

  8. 字体删除线:

    写上你想写的字

  9. 字体加大:

    写上你想写的字

  10. 字体控制大小:

<h1>写上你想写的字</h1>

(其中字体大小可从h1-h5,h1最大,h5最小)11)
  1. 更改字体颜色:
<font color="#value">写上你想写的字</font>

(其中value值在000000与ffffff(16位进制)之间
  1. 消除连接的下划线:
<a href="相关地址" >写上你想写的字</a>
  1. 贴音乐:
<embed src="音乐地址" width="宽度" height="高度" autostart=false>
  1. 贴flash:

  2. 贴影视文件:

<img dynsrc="文件地址" width="宽度" height="高度" start=mouseover>
  1. 换行:
<br>
  1. 段落:
<p>段落</p>
  1. 原始文字样式:
<pre>正文</pre>
  1. 背景:
<body background="背景图片地址">
  1. HTML视频代码
<video src="视频地址" width="100%" height="100%" controls="controls" autoplay="" x5nativepanel=""></video>