learn making HTML font styles different codes

our lesson today is very simple and very easy . Its about HTML font style. In HTML, font style is specified using CSS (Cascading Style Sheets). Font style refers to whether the font is presented in italics or normal. You can use the following HTML code to specify font style within your HTML documents.
copy the following code and paste into your HTML document (then change the values to suit) :


<p style="font-style:normal;">first, Font style is normal</p>

<p style="font-style:italic;">second, Font style is italic 
<span style="font-style:normal"> back to normal</span> 
back to italics again.</p>
This code results in:

first, Font style is normal
second, Font style is italic back to normal back to italics again.

You can do much more with fonts. Check out the following links. These are the different CSS font/text properties available:

Comments

Popular Posts