网页设计常用的标签

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

1.表格标签


2.一张表,一行,一列,一单元格对应的标签





3.图像标签

4.创建一个自动发送电子邮件连接的代码是


5.的意思是
图象向右对齐
6.设置表格宽度时有两种单位 像素 百分比
7.插入到网页的音频文件对应的代码标签

8.表单对应的代码标签

9.空链接使用的标记

10.
_blank
将链接的文件载入一个未命名的新浏览器窗口中。
_paront
将链接的文件载入含有该链接的框架父框架集或父窗口中。如果包含链接的框架不是嵌套的,则链接文件加载到整个浏览器窗口中。
_self
将链接的文件载入该链接所在的同一框架或窗口中。这些目标是默认的,所以通常不需要指定它。
_tep
将链接的文件载入整个浏览器窗口中,因而会删除所有框架。
11.scroll
一圈一圈绕着走。
12.教育机构 商业机构 政府部门 军事部门域名的缩写
EDU
COM
GOV
MIL

13.

分段


是显示一条横向分隔线

换行
黑体
把原文件中的空格、回车、换行、Tab键表现出来
14.标记控制文字字体类型的属性是face
15.通过定义css样式可以控制对象的边界 magin
16.当浏览器不支持图像时,图像标记的alt属性
17.在客户端网页脚本语言中最为通用的是javascript
18.html 代码表示 开始表格中的每一行
19.设置肢体大小的代码是 < font size=?>
20.html中表示文字粗体的标记

21.html中表示符号 “>” 方法>
22.dns英文全称 (域名系统)domain name System
23. 当阅读来自港澳台地区站点的页面文档时,应使用正确的文本码格式是 BIG5码



Basic tags 基 本 标 签
Creates an HTML document 创 建 一 个HTML 文 档
Sets off the title and other
information that isn't displayed
on the Web page itself 设 置 文 档 标 题 以 及 其 他 不 在WEB 网 页 上 显 示 的 信 息
Sets off the visible portion of
the document 设 置 文 档 的 可 见 部 分

Header tags
标 题 标 签
Puts the name of the document
in the title bar 将 文 档 的 题 目 放 在 标 题 栏 中


Body attributes
文 档 整 体 属 性
Sets the background color,
using name or hex value 设 置 背 景 颜 色, 使 用 名 字 或 十 六 进 制 值
Sets the text color, using
name or hex value 设 置 文 本 文 字 颜 色, 使 用 名 字 或 十 六 进 制 值
Sets the color of links,
using name or hex value 设 置 链 接 颜 色, 使 用 名 字 或 十 六 进 制 值
Sets the color of followed
links, usi

ng name or hex value 设 置 已 使 用 的 链 接 的 颜 色, 使 用 名 字 或 十 六 进 制 值
Sets the color of links on click 设 置 正 在 被 击 中 的 链 接 的 颜 色, 使 用 名 字 或 十 六 进 制 值


Text tags
文 本 标 签

 Creates preformatted text 创 建 预 格 式 化 文 本 

Creates the largest headline 创 建 最 大 的 标 题
Creates the smallest headline 创 建 最 小 的 标 题
Creates bold text 创 建 黑 体 字
Creates italic text 创 建 斜 体 字
Creates teletype, or
typewriter-style text 创 建 打 字 机 风 格 的 字 体
Creates a citation, usually
italic 创 建 一 个 引 用, 通 常 是 斜 体
Emphasizes a word (with italic
or bold) 加 重 一 个 单 词( 通 常 是 斜 体 加 黑 体)
Emphasizes a word (with italic
or bold) 加 重 一 个 单 词( 通 常 是 斜 体 加 黑 体)
Sets size of font, from 1 to 7 设 置 字 体 大 小, 从 1 到 7
Sets font color, using name or
hex value 设 置 字 体 的 颜 色, 使 用 名 字 或 十 六 进 制 值


Links
链 接
Creates a hyperlink 创 建 一 个 超 链 接

Creates a mailto link 创 建 一 个 自 动 发 送 电 子 邮 件 的 链 接
Creates a target location within
a document 创 建 一 个 位 于 文 档 内 部 的 靶 位
Links to that target location
from elsewhere in the document 创 建 一 个 指 向 位 于 文 档 内 部 靶 位 的 链 接


Formatting
格 式 排 版

Creates a new paragraph 创 建 一 个 新 的 段 落

Aligns a paragraph to the left,
right, or center 将 段 落 按 左、 中、 右 对 齐

Inserts a line break 插 入 一 个 回 车 换 行 符


Indents text from both sides 从 两 边 缩 进 文 本
Creates a definition list 创 建 一 个 定 义 列 表
Precedes each definition term 放 在 每 个 定 义 术 语 词 之 前
Precedes each definition 放 在 每 个 定 义 之 前
    Creates a numbered list 创 建 一 个 标 有 数 字 的 列 表
  1. Precedes each list item, and adds
    a number 放 在 每 个 数 字 列 表 项 之 前, 并 加 上 一 个 数 字
      Creates a bulleted list 创 建 一 个 标 有 圆 点 的 列 表
    • Precedes each list item, and adds
      the bullet 放 在 每 个 圆 点 列 表 项 之 前, 并 加 上 一 个 圆 点
      A generic tag used to format large
      blocks of HTML, also used for
      stylesheets 一 个 用 来 排 版 大 块HTML 段 落 的 标 签, 也 用 于 格 式 化 表


      Graphical elements
      图 形 元 素

      "name"> Adds an image 添 加 一 个 图 像
      Aligns an image: left, right,
      center; bottom, top, middle 排 列 对 齐 一 个 图 像: 左 中 右 或 上 中 下
      Sets size of border around an
      image 设 置 围 绕 一 个 图 像 的 边 框 的 大 小


      Inserts a horizontal rule 加 入 一 条 水 平 线

      Sets size (height) of rule 设 置 水 平 线 的 大 小( 高 度)

      Sets width of rule, in percentage
      or absolute value 设 置 水 平 线 的 宽 度( 百 分 比 或 绝 对 像 素 点)

      Creates a rule without a shadow 创 建 一 个 没 有 阴 影 的 水 平 线


      Tables
      表 格
      Creates a table 创 建 一 个 表 格
      Sets off each row in a table 开 始 表 格 中 的 每 一 行
      Sets off each cell in a row 开 始 一 行 中 的 每 一 个 格 子
      Sets off the table header (a
      normal cell with bold, centered
      text) 设 置 表 格 头: 一 个 通 常 使 用 黑 体 居 中 文 字 的 格 子
      Table attributes 表 格 属 性
      Sets width of border around
      table cells 设 置 围 绕 表 格 的 边 框 的 宽 度
      Sets amount of space between table
      cells 设 置 表 格 格 子 之 间 空 间 的 大 小
      Sets amount of space between a
      cell's border and its contents 设 置 表 格 格 子 边 框 与 其 内 部 内 容 之 间 空 间 的 大 小
      Sets width of table - in pixels
      or as a percentage of document width 设 置 表 格 的 宽 度- 用 绝 对 像 素 值 或 文 档 总 宽 度 的 百 分 比
      or or
      Sets alignment for cell(s) (left,
      center, or right) 设 置 表 格 格 子 的 水 平 对 齐( 左 中 右)
      Sets vertical alignment for cell(s)
      (top, middle, or bottom) 设 置 表 格 格 子 的 垂 直 对 齐( 上 中 下)
      Sets number of columns a cell should
      span (default=1) 设 置 一 个 表 格 格 子 应 跨 占 的 列 数( 缺 省 为 1)
      Sets number of rows a cell should
      span (default=1) 设 置 一 个 表 格 格 子 应 跨 占 的 行 数( 缺 省 为 1)
      Prevents the lines within a cell
      from being broken to fit 禁 止 表 格 格 子 内 的 内 容 自 动 断 行 回 卷

      Frames 窗 框
      Precedes the tag in a frames document; can also be nested in other framesets 放 在 一 个 窗 框 文 档 的 标 签 之 前,也 可 以 嵌 在 其 他 窗 框 文 档 中
      Defines the rows within a frameset,
      using number in pixels, or percentage
      of width 定 义 一 个 窗 框 内 的 行 数, 可 以 使 用 绝 对 像 素 值 或 高 度 的 百 分 比
      Defines the colu

      mns within a frameset, using number in pixels, or percentage
      of width 定 义 一 个 窗 框 内 的 列 数, 可 以 使 用 绝 对 像 素 值 或 宽 度 的 百 分 比
      Defines a single frame - or region - within a frameset 定 义 一 个 窗 框 内 的 单 一 窗 或 窗 区 域
      Defines what will appear on browsers
      that don't support frames 定 义 在 不 支 持 窗 框 的 浏 览 器 中 显 示 什 么 提 示

      Frames attributes 窗 框 属 性
      Specifies which HTML document should
      be displayed 规 定 窗 框 内 显 示 什 么HTML 文 档
      Names the frame, or region, so it may
      be targeted by other frames 命 名 窗 框 或 区 域 以 便 别 的 窗 框 可 以 指 向 它
      Defines the left and right margins for the frame; must be equal to or greater than 1 定 义 窗 框 左 右 边 缘 的 空 白 大 小, 必 须 大 于 等 于1
      Defines the top and bottom margins for the frame; must be equal to or greater than 1 定 义 窗 框 上 下 边 缘 的 空 白 大 小, 必 须 大 于 等 于1
      Sets whether the frame has a scrollbar; value may equal "yes," "no," or "auto." The default, as in ordinary documents,
      is auto. 设 置 窗 框 是 否 有 滚 动 栏, 其 值 可 以 是 "yes", "no", "auto", 缺 省 时 一 般 为 "auto"
      Prevents the user from resizing a frame 禁 止 用 户 调 整 一 个 窗 框 的 大 小

      Forms 表 单
      For functional forms, you'll have to run a CGI script. The HTML just creates the appearance of a form. 对 于 功 能 性 的 表 单,一 般 需 要 运 行 一 个 CGI 小 程 序,HTML仅 仅 是产 生 表 单 的 表 面 样 子。
      Creates all forms 创 建 所 有 表 单
      Creates a scrolling menu. Size sets the number of menu items visible before you need to scroll. 创 建 一 个 滚 动 菜 单,size 设 置 在 需 要 滚 动 前 可 以 看 到 的 表 单 项 数 目

      一 个 单 行 文 本 输 入 区 域,size 设 置 以 字 符 计 的 宽 度
      Creates a Submit button 创 建 一 个 submit(提 交)按 钮
      Creates a Submit button using an image 创 建 一 个 使 用 图 象 的 submit(提 交)按 钮
      Creates a Reset button 创 建 一 个 reset(重 置)按 钮