设为首页  
联系我们  
加入收藏  
网页制作 冲浪宝典 图形图像 操作系统 软件教学 编程开发 认证考试 安全技术 站长专区 文学驿站 娱乐天地 游戏天地 办公软件
文章搜索
您的位置: 首页 >> 文章首页 >> 网页制作 >> HTML >> HTML 初学者指南
精品推荐
HTML点击TOP10
·html教学+HTML语法大全
·页面两侧对联广告代码效果
·打印网页的html代码
·HTML标记大全参考手册
·HTML网页制作基础教程(1):认识HTML
·客户端脚本,值得收藏。。。
·HTML的表单
·设为首页-加入收藏-联系我们的代码
·新浪首页全屏显示广告代码
·一些网页设计小代码
网页制作点击TOP10
·菜鸟架设动网论坛全教程
·网页模板的使用方法 (教程)
·网页对联广告代码效果大全
·初学者入门:如何学习网页制作?
·用JavaScript实现文件图片滚动效果
·常用CSS大全
·网页自动转向代码
·图片循环滚动完美解决
·JS表格排序新法
·DIV CSS网页布局实例解析:实现表格形式
精选专题

HTML 初学者指南

作者: 来源:网络文章 时间:2006-10-9 8:16:57

HTML 初学者指南(5) HTML支持有序的,无序的和陈述式列表。

无序列表

按以下格式建立一个无序列表:

  1. 用列表标注<UL>开始.
  2. 接着输入<LI>不同的列表项。 (无须</LI>标注来关闭。)
  3. </UL>作为结束标注。

以下是两个例子:

    <UL>
    <LI> 苹果
    <LI> 香蕉
    </UL>

浏览器输出是:

  • 苹果
  • 香蕉

<LI> 列表项可以包括多个段落。 段落之间可以用<P>标注来分开。

有序列表

有序列表(也称为排序列表)和无序列表除了用<OL> 代替<UL>外,和无序列表是一样的。各列表项都使用<LI> 标注。 以下是列表的HTML例子:

    <OL>
    <LI> 橙子
    <LI> 桃子
    <LI> 葡萄
    </OL>

浏览器输出是:

  1. 橙子
  2. 桃子
  3. 葡萄

陈述式列表

陈述式列表通常由DTDD组成。 Web浏览器把陈述式列表另开新行来显示。

以下是陈述式列表的例子:

    <DL>
    <DT> NCSA
    <DD> NCSA, the National Center for Supercomputing Applications,
         is located on the campus of the University of Illinois 
         at Urbana-Champaign. NCSA is one of the participants in the
         National MetaCenter for Computational Science and Engineering.
    <DT> Cornell Theory Center
    <DD> CTC is located on the campus of Cornell University in Ithaca,
         New York. CTC is another participant in the National MetaCenter
         for Computational Science and Engineering.
    </DL>

浏览器输出为:

NCSA
NCSA, the National Center for Supercomputing Applications, is located on the campus of the University of Illinois at Urbana-Champaign. NCSA is one of the participants in the National MetaCenter for Computational Science and Engineering.
Cornell Theory Center
CTC is located on the campus of Cornell University in Ithaca, New York. CTC is another participant in the National MetaCenter for Computational Science and Engineering.

共11页 9 7 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [118 :>

HTML 初学者指南 相关文章:
HTML 初学者指南 相关软件:
特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。
转载请注明来源:http://www.xgdown.com