Practical 1
Open text Document or any text editor and type like below.
HTML and JS(javaScript)
<html>
<head>
<title>Practical 1</title>
<head>
<body>
<button onclick="practical1()">Alert</button>
<script>
function practical1(){
alert("Hello World");
}
</script>
</body>
</html>
Then go to the "File" tab and "Save as". After that "File name: p1.html" and "Save as type: All files (*.*)". Then after that Click on the save button.
0 Comments