Library tutorials & articles
Beginning HTML
Parameters
Now that we've covered the basics as far as formatting text goes, you must be wondering how you change the font. The reason that I didn't include the font tag in the previous section is because it is slightly more complex. The font tag (and some others) accept parameters. In fact, the font tag doesn't do much without them.
A parameter takes the form parametername="value" and belongs in the first of the tag pair. You do not need to include the parameter again in the second of the tag pair. One of the parameters that the font tag can accept is the face parameter. This sets the font's face, such as Arial or Times New Roman. So to set the font's face to Arial, we need to use the following code:
This text is not in Arial. <font face="Arial">This text
is in Arial</font>
Try pasting this into your index file, so that it reads:
<html>
<body>
This text is not in Arial. <font face="Arial">This text is in
Arial</font>
</body>
</html>
Save your index.htm file and refresh your browser.
Related articles
Related discussion
-
$200 Website Design and Development
by manypeopledesign (1 replies)
-
Dallas Interactive Marketing & Internet SEO SEM October Meetup
by dsafmx (4 replies)
-
Can I design web site by using ASP.net
by pradeepfusion (1 replies)
-
Online Freelance Jobs for Programmers
by getafreelancer02 (0 replies)
-
Inserting checkbox values into one field
by ramsenthil2000 (1 replies)
Related podcasts
-
Top Web Design Mistakes
Pete LePage is Product Manager of Internet Explorer Developer Division and he doesn’t want your web site to stink. Sharing from his talk given at TechEd 2008, Pete highlights 10 common web design mistakes and tells you how you can bypass the same blunders. Pete also tells us how future features o...
Hi
Nice read, I m noob in web design therefor it is so much useful for me in my study.
thanks
Hi All,
I have Registered in ur site, becs i want a Free HTML conerter software. if it is not available in ur Company then give the address where i down load it. i want to use it personally.
Regards
PKN
Hi all,
Sorry I've been away for so long. But I may be back soon. Does anybody really want a sequel? If so what do you want in it. Anything in particular? Post here or mail me and I'll include it, if it's not too hideously complicated.
I'm glad that some people have found this of some use.
Thanks for presenting "the beef", with none of the fat (or fluf) ...
Just what I needed! Thank you very much!
DotZip
This is awesome, please do a sequel because I really want to learn HTML. I usually use Dreamweaver or something but I want to stop being lazy!
Please do a sequal
This thread is for discussions of Beginning HTML.