Tutorials » Javascript tutorials »

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.



<script text =”javascript">

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


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

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




Output in the browser

Next Chapter: Javacript popup objects!
Previous Chapter: Formatted text
More Chapters: Javascript Tutorials
More Tutorials: Tutorial Index

Top Contributors
    Last 7 Daysmore...

    Awards & Gifts

    Online Members

    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India