Hellooooo.. How about if we start our next lesson with Java Script.. It's just easy-breezy buddyzzz.. Here i'll attach my code and the sample output.. Do try it.. EXAMPLE 1 Basic <html><head><title> JAVA SCRIPT</title></head> <body> <h1> Welcome to SMMTC </h1> This is HTML section.... </body> </html> <script type="text/javascript"> window.alert("welcome to JavaScript!"); </script> EXAMPLE 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> Java Script2</title> function showText() { window.alert("welcome to JavaScript!"); } ...
Posts
Showing posts from November, 2017