In this tutorial I'll tell you how to style font of a text...
A text can be styled in many forms!
There were many ways to style a text like with bolding text, underlining it, changing the color, size, font style, header, etc.
To change the texts from we can use some simple codes like:
These are some of text styles...HTML Code:<b>A bold text</b> <i>An italic text</i> <u>Underlined text</u> <strong>Strong wroted text</strong> <em>An emphased text</em> <big>Some big wroted texts</big> <small>Some small wroted texts</small>
Let's try them into the browser to see how these work!
Here is an image:
Let's try font styles..
We can change the font style to change the font style we must write this code:
At the (="The style of font") we have to write the style what we want to use!HTML Code:<font face="The style of font">The Text</font>
Remember: Do not use many types of new fonts because many of computers cannot read them!
Use just main font styles like:"Verdana, News Times, Tahoma, Arial, etc.." use these because all the computers handle these fonts!
An example:
This example tells what our text is wroted in Verdana font style!HTML Code:<font face="Verdana">Our text</font>
Don't forget to add this at start and end of the text, numbers, etc... ("Text")!
Out of style we can change the color of the text:
At the ("The color what we want") write the name of color what do you want for example: red, black, blue, etc.HTML Code:<font color="The color what we want">The colored Text</font>
An example:
Now at our browsers this text will be colored to red!HTML Code:]<font color="red">The colored Text</font>
These were some examples of styling text at <font ...="-">Text</text>
We can use many things like one other of them is SIZE:
At the ("size of font") we write the size of the font currently use 1-7 last!HTML Code:<font size="size of font">Text</font>
Than we know the font styles, font coloring and some font types and size of the fonts...
These are some types of changing text styles and fonts at next we will se the headers how work!
This tutorial belongs to me!
-Regards, c0de!
Last edited by c0de; 09-12-2007 at 09:22 AM.
Nice little tutorial you've made, though there's some incorrect information.
That's wrong.Remember: Do not use many types of new fonts because many of browsers cannot read them!
Use just main font styles like:"Verdana, News Times, Tahoma, Arial, etc.." use these because all the browsers handle these fonts!
First, it's not the browser that is unable to read the fonts - it's your computer. Your browser is only able to use the fonts installed on your machine.
Second, even if you're using so-called "main font styles" you can not be sure that they will work for all users. The fonts you showed there was primarily fonts installed as default in Windows. But what about all the Linux-, Mac- and so on-users? You can define different font, using the comma-operator.
That's wrong.Code:<font style="Verdana">Our text</font>
The style attribute is used for defining multiple styles, and not like you're doing right there. Normally you would use the face-attribute, for the fonts.
And if you really want to use the style-attribute;Code:<font face="Verdana">Our text</font>
Code:<font style="face: Verdana;">Our text</font>
Opss, my mistake thank you.
I've edited the post!
His other "tutorials" are no better. Deprecated html code punctuated with errors. These tutorials should be removed or edited for the benefit of the readers, if any.Nice little tutorial you've made, though there's some incorrect information.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks