返回首页 回上页

  上网常识 html知识 网站推广 常见问题 

留言板

您现在的位置→  新手指南                                                        html知识简介

图形与链接

Graphical elements
图 形 元 素  
<img src="name"> Adds an image 添 加 一 个 图 像  
<img src="name" align=?> Aligns an image: left, right,
center; bottom, top, middle
排 列 对 齐 一 个 图 像: 左 中 右 或 上 中 下  
<img src="name" border=?> Sets size of border around an
image
设 置 围 绕 一 个 图 像 的 边 框 的 大 小  
<hr> Inserts a horizontal rule 加 入 一 条 水 平 线  
<hr size=?> Sets size (height) of rule 设 置 水 平 线 的 大 小( 高 度)  
<hr width=?> Sets width of rule, in percentage
or absolute value
设 置 水 平 线 的 宽 度( 百 分 比 或 绝 对 像 素 点)  
<hr noshade> Creates a rule without a shadow 创 建 一 个 没 有 阴 影 的 水 平 线  

Links
链 接  
<a href="URL"></a> Creates a hyperlink 创 建 一 个 超 链 接  
<a href="mailto:EMAIL">
</a>
Creates a mailto link 创 建 一 个 自 动 发 送 电 子 邮 件 的 链 接  
<a name="NAME"></a> Creates a target location within
a document
创 建 一 个 位 于 文 档 内 部 的 靶 位  
<a href="#NAME"></a> Links to that target location
from elsewhere in the document
创 建 一 个 指 向 位 于 文 档 内 部 靶 位 的 链 接