news.html

来自「《JavaScript精粹》 源文件下载」· HTML 代码 · 共 21 行

HTML
21
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
  <title>News-ticker accessibility test</title>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  <script type="text/javascript" src="news.js"></script>
</head>
<body>
  <h1>News-ticker accessibility test</h1>
  <p>
    This page begins with an empty ordered-list.
    At load time, the list is populated with five items
    from an array of ten, and then cycles through
    the items every 5 seconds, updating the whole list
    with the current five at each iteration
    (items 2-6, then 3-7, and so on).
  </p>
  <ol id="news">
  </ol>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?