半点优化网 http://www.bdxc.net/
当前位置首页 > 网站技术问题> 正文

怎样使用网页代码

2022-05-26 08:13:35 暂无评论 244 网站技术问题 代码   怎样   网页

你可以这样办,既然是插入代码,肯定有一步要切换到代码视图!
1.新建一个表格
2.在表格内部点一下,注意鼠标点完后,紧接着点窗口上的代码视图。
3.然后你会看到整个网页的代码。鼠标这时不要乱点,鼠标现在的位置就是你刚才在表格内部那一次。
4.如果表格是空的,没有进行过任何操作,代码是这样的:
<table width=1003 border=1>
<tr>
<td> </td>
</tr>
</table>
其中你的鼠标停留位置在 这个代码上。
5.复制你要添加的代码,来到代码视图,把 这个东西去掉,就是删除,然后粘贴你的代码。
6.举例说明:
<table width=1003 border=1>
<tr>
<td> <marquee direction=up height=146 onmouseout=start() onmouseover=stop() scrollAmount=2>滚动信息</marquee>
</td>
</tr>
</table>
其中,<marquee direction=up height=146 onmouseout=start() onmouseover=stop() scrollAmount=2>滚动信息</marquee>
这是一句滚动文字的代码。
你自己前后对比下看看,就明白是怎么回事了!

猜你喜欢