summaryrefslogtreecommitdiff
path: root/test/js/dom-element-childElementCount.html
blob: ec4b7f89a7a70e0d13c0e487bb550f1edac9dfe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
<html>
<head>
<link rel="stylesheet" type="text/css" href="tst.css">
<title>DOM childElementCount reference</title>
</head>
<body>
<h1>DOM childElementCount reference</h1>
<p><b>head.childElementCount:</b> <script>document.write(document.head.childElementCount);</script></p>
<p><b>body.childElementCount:</b> <script>document.write(document.body.childElementCount);</script></p>
</body>
</html>