Thread: javascript and html
Threaded View
-
15-05-09, 14:12 #14
Senior Member I was here more times.
- Join Date
- May 2009
- Location
- India
- Posts
- 124
- Rep Power
- 0
See the Example of a simple Program in both HTML and JavaScript
Program in html:-
<HTML>
<HEAD>
<title>HTML to JavaScript</title>
</head>
<BODY>
HTML to JavaScript Converter
</BODY>
</HTML>
Program in JavaScript:-
<script language="JavaScript">
<!--
document.writeln("<HTML>");
document.writeln("<HEAD>");
document.writeln("<title>HTML to JavaScript</title>");
document.writeln("</head>");
document.writeln("<BODY>");
document.writeln("HTML to JavaScript Converter");
document.writeln("</BODY>");
document.writeln("</HTML>");
//-->
</script>
Hope this will help you.......
Similar Threads
-
What is HTML?
By lennondevid in forum Website DesignReplies: 6Last Post: 27-02-16, 07:21 -
Jsp vs html - which one u use.. ?
By paramita0101 in forum Webmaster newbie helpReplies: 10Last Post: 27-08-12, 11:26 -
Can I learn javascript and php indepth from internet?
By lemon_1800 in forum ScriptsReplies: 28Last Post: 14-06-09, 09:03 -
Is it safe to put javascript to our site?
By alec11 in forum ScriptsReplies: 20Last Post: 04-03-09, 19:53 -
need help with html
By cj monaco in forum Website DesignReplies: 14Last Post: 12-10-08, 19:18
Bookmarks