C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...







More HTML formats in the SCRIPT



Simple program in a more formatted way.



Let us take one more example so that inserting HTML code in the text would be more easy.
We can insert all the formats that HTML supports in JavaScript.


<html>

<body>

<script text =”javascript">

document.write("<h1> <p align = 'center' ><i>Javascript Tutorials

</i></p></h1>");

document.write("<p align = 'center'><font color = 'red'> Welcome to

DotnetSpider Tutorials!</font></p>");

</script>

</body>

</html>



Output in the browser








  • Next Chapter: Javacript popup objects!

  • Previous Chapter: Formatted text

  • Tutorial Index



  • dotNet Slackers

    About Us    Contact Us    Privacy Policy    Terms Of Use