当前位置: 首页 > 网络学院 > 网页制作基础教程 > HTML > HTML <dir>标签

HTML
HTML 介绍
HTML 元素
HTML 基本标签
HTML 格式
HTML 实体字符
HTML 链接
HTML 框架
HTML 表格
HTML 列表
HTML 表单
HTML 图片
HTML 背景
HTML 颜色
HTML 颜色值
HTML 颜色名
HTML 便条
HTML 布局
HTML 字体
HTML 4.0
HTML 样式

HTML <dir>标签


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 384 ::
收藏到网摘: n/a

定义以及使用方法

The <dir> tag defines a directory list.
<dir>标签可用来定义目录列表


Differences Between HTML and XHTML
在HTML和XHTML中的区别

The dir element was deprecated in HTML 4.01.
dir元素在HTML4.01中不推荐使用

The dir element is not supported in XHTML 1.0 Strict DTD.
在XHTML1.0严密型DTD中将不支持dir元素


Tips and Notes
提示以及注意点

Tip: Use CSS styles to define the type of list!
提示:请使用CSS样式来定义列表!


Example
实例

Source代码 Output输出结果
<dir>
<li>html</li>
<li>xhtml</li>
</dir>
  • html
  • xhtml


  • Optional Attributes
    可选属性

    DTD indicates in which DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
    下表中的DTD列指明了被支持的DTD属性。S=Strict(精确的),T=Transitional(传统的),F=Frameset(框架)

    属性 描述 DTD
    compact compact_rendering Deprecated. Use styles instead
    不推荐。使用样式表来替代
    TF

    Standard Attributes
    标准属性

    id, class, title, style, dir, lang, xml:lang

    For a full description, go to Standard Attributes.
    查看完整描述

    Event Attributes
    事件属性

    onclick, ondblclick, onfocus, onblur, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup

    For a full description, go to Event Attributes.
    查看完整描述

    评论 (0) All

    登陆 | 还没注册?