Full width home advertisement

Welcome Home

Post Page Advertisement [Top]

The HTML <script> tag is used to add either external script file or to sets internal script for the HTML document. 


<!DOCTYPE html>



<title>HTML script Tag Example</title>

<base href="http://www.scholarsglobe.com/" />

<script type="text/JavaScript">

function Hello(){

alert("Hello, World");





<input type="button" onclick="Hello();" name="ok" value="OK" />



For Beginner: Copy and Paste code in Notepad, Save as index.html or test.html and open/preview in any web browser.

No comments:

Post a Comment

Bottom Ad [Post Page]