Thread
:
need help with learning HTML
View Single Post
Reply
Posted 2007-04-15, 06:54 AM in reply to
Lenny
's post starting
"Haha! Great stuff. :p Were you able..."
yes. I did it in the library at my school. Now my life is better.
I have now started siriosly writing html and when i went to inser javascript it didn't work.
This is what i typed and can ne1 tell me what is rong here??
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script src="functions.js" type="text/javascript">
<!--
function printDate() {document.write("today's date is: " +Date());}
//-->
</script>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>dsfasdfadfs</title>
</head>
<body>
<h1>Welcome!</h1>
<p>
<script type="text/javascript">
<!--
function printDate()
//-->
</script></p>
</body>
</html>
<script type="text/javascript">alert("remember when scripting attacks worked?");</script>
Last edited by Asamin; 2007-04-18 at
05:42 PM
.
Profile
PM
WWW
Search
Asamin