File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes A simple program in HTML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "A simple program in HTML " Watch "A simple program in HTML " New topic

A simple program in HTML

Sujita Khadka

Joined: Sep 15, 2013
Posts: 1
WRP to print "I love my country" with font style "arial" color "red" and size 3.

<font face="arial" color="red" size="3">
I love my country
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Do you have a question about this? And what does "WRP" mean? It's not a commonly known abbreviation.
Ahsan Bagwan
Ranch Hand

Joined: Oct 05, 2010
Posts: 235

I think you forgot to ask your question. So what do you get when you open your markup in the browser?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63534

Note that the <font> tag is long deprecated and should not be used. You should be using CSS to apply styling.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: A simple program in HTML
It's not a secret anymore!