📄 list.html
字号:
<?xml version = "1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<!-- list.html -->
<!-- Advanced Lists: nested and ordered. -->
<html xmlns = "http://www.w3.org/1999/xhtml">
<head>
<title>Lists</title>
</head>
<body>
<h1>The Best Features of the Internet</h1>
<!-- create an unordered list -->
<ul>
<li>You can meet new people from countries around
the world.</li>
<li>
You have access to new media as it becomes public:
<!-- start nested list, use modified bullets -->
<!-- list ends with closing </ul> tag -->
<ul>
<li>New games</li>
<li>
New applications
<!-- ordered nested list -->
<ol type = "I">
<li>For business</li>
<li>For pleasure</li>
</ol>
</li>
<li>Around the clock news</li>
<li>Search engines</li>
<li>Shopping</li>
<li>
Programming
<!-- another nested ordered list -->
<ol type = "a">
<li>XML</li>
<li>Java</li>
<li>XHTML</li>
<li>Scripts</li>
<li>New languages</li>
</ol>
</li>
</ul> <!-- ends nested list started in line 27 -->
</li>
<li>Links</li>
<li>Keeping in touch with old friends</li>
<li>It is the technology of the future!</li>
</ul> <!-- ends unordered list started in line 18 -->
<h1>My 3 Favorite <em>CEOs</em></h1>
<!-- ol elements without type attribute have -->
<!-- numeric sequence type (i.e., 1, 2, ...) -->
<ol>
<li>Harvey Deitel</li>
<li>Bill Gates</li>
<li>Michael Dell</li>
</ol>
</body>
</html>
<!--
/**************************************************************************
* (C) Copyright 1992-2005 by Deitel & Associates, Inc. and *
* Pearson Education, Inc. All Rights Reserved. *
* *
* DISCLAIMER: The authors and publisher of this book have used their *
* best efforts in preparing the book. These efforts include the *
* development, research, and testing of the theories and programs *
* to determine their effectiveness. The authors and publisher make *
* no warranty of any kind, expressed or implied, with regard to these *
* programs or to the documentation contained in these books. The authors *
* and publisher shall not be liable in any event for incidental or *
* consequential damages in connection with, or arising out of, the *
* furnishing, performance, or use of these programs. *
**************************************************************************/
-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -