C
Chattron
Guest
Why doesn't the words "Welcome to Javascript Programming!" display when I open this html page in my browser?
<?xml version = "1.0" encoding = "utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml">
<head>
<title>A First Program in Javascript</title>
<script type = "text/javascript">
<!--
document.writeIn(
"<h1>Welcome to Javascript Programming!</h1>" );
// -->
</script>
</head><body></body>
</html>
<?xml version = "1.0" encoding = "utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml">
<head>
<title>A First Program in Javascript</title>
<script type = "text/javascript">
<!--
document.writeIn(
"<h1>Welcome to Javascript Programming!</h1>" );
// -->
</script>
</head><body></body>
</html>