<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<Form Name="mytable">
请输入数据:
<Input Type="text" Name="text1" Value="">
</Form>
<A name="Link1" href="form.htm">链接到第一个文本</a><br>
<A name="Link2" href="title.htm">链接到第二个文本</a><br>
<A name="Link2" href="alinkcolor.htm">链接到第三个文本</a><br>
<A href="#Link1">第一锚点</a>
<A href="#Link2">第二锚点</a>
<A Href="#Link3">第三锚点</a>
<BR>
<Script Language="JavaScript">
document.write("文档有"+document.links.length+"个链接"+"<br>";
document.write("文档有"+document.anchors.length+"个锚点"+"<br>";
document.write("文档有"+document.forms.length+"个窗体"
</script>
</body>
</html>
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<Form Name="mytable">
请输入数据:
<Input Type="text" Name="text1" Value="">
</Form>
<A name="Link1" href="form.htm">链接到第一个文本</a><br>
<A name="Link2" href="title.htm">链接到第二个文本</a><br>
<A name="Link2" href="alinkcolor.htm">链接到第三个文本</a><br>
<A href="#Link1">第一锚点</a>
<A href="#Link2">第二锚点</a>
<A Href="#Link3">第三锚点</a>
<BR>
<Script Language="JavaScript">
document.write("文档有"+document.links.length+"个链接"+"<br>";
document.write("文档有"+document.anchors.length+"个锚点"+"<br>";
document.write("文档有"+document.forms.length+"个窗体"
</script>
</body>
</html>
document.write("文档有"+document.anchors.length+"个锚点"+"<br>");
document.write("文档有"+document.forms.length+"个窗体")
你的反括号呢?