Tutorials » Javascript tutorials »

Formatted text


This article explains about writing more formatted Text in HTML tags using Java Script


Friends ,Now let's have one more step ahead and try to write the text in a beautiful format that is acceptable by client.



<html>

<body>

<script >

document.write("<b>Welcome to DotnetSpider Tutorials!</b>");

</script>

</body>

</html>



Just ! Guess what would be the output ? Yeah ! You are Right!

The output will be the text that is composed in document.write. But the thing that is additional here is it would display in bold as follows in the browser.

Welcome to DotnetSpider Tutorials!




Next Chapter: More HTML formats in the SCRIPT
Previous Chapter: Our first JavaScript program
More Chapters: Javascript Tutorials
More Tutorials: Tutorial Index



Top Contributors
Today
    Last 7 Daysmore...

    Awards & Gifts

    Online Members

    More...
     
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India