您现在的位置: 潮州吧 >> 教程 >> HTML >> 正文

HTML 初学者指南(3)

[ 来源:不详 | 作者:佚名 | 时间:2008-1-4 19:05:14| 收藏本文 | 点击:载入次数... ]
>
下面是一个定义列表的例子:

<DL>
<DT> NCSA
<DD> NCSA, the National Center for Supercomputing Applications,
is located on the campus of the University of Illinois
at Urbana-Champaign.
<DT> Cornell Theory Center
<DD> CTC is located on the campus of Cornell University in Ithaca,
New York.
</DL>

输出形式为:

NCSA
NCSA, the National Center for Supercomputing Applications, is located on the campus of the University of Illinois at Urbana-Champaign.
Cornell Theory Center
CTC is located on the campus of Cornell University in Ithaca, New York.
<DT> 和 <DD> 项可以包含多个段落 (用 <P> 标记指示), 列表, 或其他的定义信息.

COMPACT 属性可能会被经常使用,如果你的定义术语很简短的话. 例如,如果你想显示一些计算机选项, 它们可以和定义的开始处于同一行中.

<DL COMPACT>
<DT> -i
<DD>invokes NCSA Mosaic for Microsoft Windows using the
initialization file defined in the path
<DT> -k
<DD>invokes NCSA Mosaic for Microsoft Windows i

上一页  [1] [2] [3] 下一页


网友评论:
发表您对HTML 初学者指南(3)的评论
姓 名: *
性 别:
E-mail:
评 分: 1分 2分 3分 4分 5分
评论内容:
·用户发表意见仅代表其个人意见,并且承担一切因发表内容引起的纠纷和责任
·本站管理人员有权在不通知用户的情况下删除不符合规定的评论信息或留做证据
·请客观的评价您所看到的教程,提倡就事论事,杜绝漫骂和人身攻击等不文明行为