mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 09:13:08 +03:00
12 lines
414 B
HTML
12 lines
414 B
HTML
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="tst.css">
|
|
<title>DOM lastElementChild reference</title>
|
|
</head>
|
|
<body>
|
|
<h1>DOM lastElementChild reference</h1>
|
|
<p><b>head.lastElementChild:</b> <script>document.write(document.head.lastElementChild.textContent);</script></p>
|
|
<p><b>body.lastElementChild:</b> <script>document.write(document.body.lastElementChild.textContent);</script></p>
|
|
</body>
|
|
</html>
|