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:

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Html tag inside out implicit object
Post your Comment