案例:javascript案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<html>
2
<head>
3
<link rev="subsection" id="link1" href="/example/hdom/frame_description.html" />
4
</head>
5
<body>
6
7
<script type="text/javascript">
8
x=document.getElementById("link1");
9
document.write("Reverse relationship: " + x.rev);
10
document.write("<br />This page is a subsection of: ");
11
document.write(x.href);
12
</script>
13
14
</body>
15
</html>