<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
document.write("Hack The Planet");
</script>
</body>
</html>
This is a simple HTML page with a JavaScript script embedded in the <head> tag. The script uses the document.write() method to display the string "Hack The Planet" on the page.
When the page is loaded in a web browser, the script will run and the string "Hack The Planet" will be displayed on the page. This is a very basic example of using JavaScript to manipulate the contents of an HTML page.
No comments:
Post a Comment