<!DOCTYPE html>
<html>
<head>
<title>js21.html</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
</head>
<body>
<a href = "#" onclick = "window.history.back(-1);">返回</a>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>js20.html</title>
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="this is my page">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
</head>
<body>
<a href = "js21.html">链接</a>
</body>
</html>
本文档展示了两个简单的HTML页面,通过使用<a>标签实现页面间的相互链接。第一个页面包含一个返回上一页的链接,第二个页面则提供了一个指向第一个页面的链接。此示例有助于理解HTML中如何创建基本的网页导航。
849

被折叠的 条评论
为什么被折叠?



