netsurf/test/js/dom-element-childElementCount.html

12 lines
396 B
HTML
Raw Normal View History

2012-11-18 21:35:52 +04:00
<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>