</script>
</head>
<body>
</body>
</html>
Take that code and save it as "test.html" then use your web browser to load it. Go to "file" / "open file", find test.html and open it. A popup will appear and say "true" or "false".

You can edit "test.html" as much as you want and verify anything you like.

(by the way, you have posted several different threads asking for help with what is surely HOMEWORK. We can give you guidance but not do it all for you. TRY FIRST, post what you tried THEN we can help you. Nobody is going to write it all for you).

university

08-03-2011, 04:57 PM

What has Linux (an operating system) to do with it?

lol sorry dont know why i wrote that haha!.

university

08-03-2011, 05:04 PM

You don't need Linux.

Make yourself a mini webpage and run your statements as Javascript.

<html>
<head>
<script type="text/javascript">

alert('3' !=='smith');

</script>
</head>
<body>
</body>
</html>
Take that code and save it as "test.html" then use your web browser to load it. Go to "file" / "open file", find test.html and open it. A popup will appear and say "true" or "false".

You can edit "test.html" as much as you want and verify anything you like.

(by the way, you have posted several different threads asking for help with what is surely HOMEWORK. We can give you guidance but not do it all for you. TRY FIRST, post what you tried THEN we can help you. Nobody is going to write it all for you).

okay so can i use notepad as i dont have editplus..beacause i tried it but nothing comes up because theres nothing written in the body tag?