Home Jsp Simple-jsp-example Html tag inside out implicit object
Questions:Ask|Latest

 
 

Share on Google+Share on Google+

Html tag inside out implicit object

Advertisement
In this program we are going to use a html tag inside a out object.

Html tag inside out implicit object

        

In this program we are going to use a html tag inside a out object. out object is used to display the content on the browser. To make this program run use out object inside which define some html code along with the content you want to display on the browser. In this example we are displaying the content "Welcome To Roseindia.net" with font size = 6 and color = #CC0000.

 

The code of the program is given below:

 

 

<%
   out.println("Welcome To <i><font  size='6' color ='#CC0000'>");
  
   out.println(" Roseindia.Net</font> </i>.");
%>

The output of the program is given below:

Download this example.

 

Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: February 6, 2008

Related Tutorials

Ask Questions?    Discuss: Html tag inside out implicit object  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
Johnie
January 19, 2013
MNQrPKtltkN

It's great to read somteihng that's both enjoyable and provides pragmatisdc solutions.
DMCA.com