By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,396 Members | 1,835 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,396 IT Pros & Developers. It's quick & easy.

Inserting font color

P: 84
How to insert the font color? and notepad is the best way of editor? Does you will need an html installer software. does you will need a notepad?

ANd how to insert font color

In this case?

[html]
<HTML>
<HEAD>
<TITLE>Test Page</TITLE>
</HEAD>
<BODY>
Hi there, you have just written your first web page!
</BODY>
</HTML>
[/html]
How will I insert this?
<FONT SIZE="+2">I'm a big sentence now!</FONT>
Feb 6 '08 #1
Share this Question
Share on Google+
3 Replies


drhowarddrfine
Expert 5K+
P: 7,435
How to insert the font color?
Do not use html attributes. After you become more comfortable with HTML, learn CSS.
notepad is the best way of editor?
No but it is fine for beginning. Look into Notepad++. There are many editors better than notepad.
Does you will need an html installer software.
No, only a browser. Save the page you create with a .html extension.
[html]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Untitled</title>
<style type="text/css">

</style>
</head>
<body>

<style type="text/css">
body{
color:red;
}
#p2{
font-size:2em;
}
</style>

</head>
<body>
<p>
Hi there, you have just written your first web page!
</p>
<p id="p2">
I'm a big sentence now!
</p>

</body>
</html>
[/html]
Feb 6 '08 #2

nomad
Expert 100+
P: 664
How to insert the font color? and notepad is the best way of editor? Does you will need an html installer software. does you will need a notepad?

ANd how to insert font color

In this case?

[html]
<HTML>
<HEAD>
<TITLE>Test Page</TITLE>
</HEAD>
<BODY>
Hi there, you have just written your first web page!
</BODY>
</HTML>
[/html]
How will I insert this?
<FONT SIZE="+2">I'm a big sentence now!</FONT>
I agree learn CSS if there are any changes a to be made on a huge website its much easier to do so. Ie color, font, fontsize. headers

nomad
Feb 6 '08 #3

P: 3
How to insert the font color? and notepad is the best way of editor? Does you will need an html installer software. does you will need a notepad?

ANd how to insert font color

In this case?

[html]
<HTML>
<HEAD>
<TITLE>Test Page</TITLE>
</HEAD>
<BODY>
Hi there, you have just written your first web page!
</BODY>
</HTML>
[/html]
How will I insert this?
<FONT SIZE="+2">I'm a big sentence now!</FONT>
As mentioned by everybody else, its much better and easier if you learn CSS.. But to begin with be comfortable with HTML.. to include color to the font tag u need to write "<font size="+2" color="red">Hi there, you have just written your first web page! </Font>" . It also accepts other attributes like "face" which decides what type of font do u want to use for eg: tahoma,arial etc to name a few.. There are lots of different text editors availbale out there .. Many of the are free.. you can also try out "EditPlus" .. Try it out on www.editplus.com .. Its pretty good but u need to buy it.. the trial version is more than enough and sometimes the Trial version doesn't expire.. Do some search on the internet for other text editors.. Though notepad is also enough provided u know the tags well.. just write your code and save it with ".html" tag ... Good Luck..
Feb 7 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.