Question #1
What would be the script output?
HTML
<!doctype>
<html>
<head>
<script>
alert(document.getElementById("container"))
</script>
</head>
<body>
<div id="container"></div>
</body>
</html>
<!doctype>
<html>
<head>
<script>
alert(document.getElementById("container"))
</script>
</head>
<body>
<div id="container"></div>
</body>
</html>