Monday, January 21, 2013

Online HTML to Script Converter Tool


Widget Generators is Officially Introducing their New Converter Tool named as HTML to Script Converter. You can easily convert your scripts like HTML to PHP, HTML to JavaScript etc. After using this tool you don't need to  do extra effort in PHP, JavaScripts and all other scripts. This tools is totally free but not for the commercial use.







Examples of Converting....!

Simple HTML Coding:

<html>
<head>
<title>Widget Generators</title>
</head>
<body>
<h1>This is Our Another Tools of Widget Generators</h1>
</body>
</html>


HTML to PHP

 <?php
echo "<html>\n";
echo "<head>\n";
echo "<title>Widget Generators</title>\n";
echo "</head>\n";
echo "<body>\n";
echo "<h1>This is Our Another Tools of Widget Generators</h1>\n";
echo "</body>\n";
echo "</html>\n";
?>


HTML to JavaScript

 <script type="text/javascript">
<!--
document.writeln(" <html> ");
document.writeln(" <head> ");
document.writeln(" <title>Widget Generators</title> ");
document.writeln(" </head> ");
document.writeln(" <body> ");
document.writeln(" <h1>This is Our Another Tools of Widget Generators</h1> ");
document.writeln(" </body> ");
document.writeln(" </html> ");
 // -->
</script>


HTML to ASP

 #!/usr/bin/perl
print "Content-type: text/html\n\n";
$code[0] = "<html>";
$code[1] = "<head>";
$code[2] = "<title>Widget Generators</title>";
$code[3] = "</head>";
$code[4] = "<body>";
$code[5] = "<h1>This is Our Another Tools of Widget Generators</h1>";
$code[6] = "</body>";
$code[7] = "</html>";
for ($i=0;$i<scalar(@code);$i++) {print($code[$i]."\n");}



That's All with it.



If Any Problem Comes, Ask in Comments

0 comments:

Post a Comment