Post on 22-Dec-2015
description
Accessing Elements: accessingelements.html !!<!doctype html>
<html>
<head>
<title>Learning Javascript</title>
<meta charset="utf-8" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<p id="text">Some text</p>
<script type="text/javascript">
// This is a comment
/*
This is a multi-line
comment
*/
document.getElementById("text").innerHTML="Some more text";
</script>
</body>
</html>