Formatting Text with CSS

April 1st, 2010

Setting Up the HTML Code The HTML code for this css tutorial contains three paragraphs of text as shown below. The contents of these paragraphs are wrapped inside <font> elements. The first paragraph has been set to a larger font size. It has also been colored red and style bold and italic. <p align="center"> <font size="4" color="#990000" face="times, times new roman"> <b><i>Example of Text Style with CSS</i></b> </font> </p><p> <font size="2" face="arial, helvetica"> Here is another paragraph using inline css </font> </p> <p> <font size="2" face="arial, helvetica"> Here is third paragraph using inline css </font> </p> <p> <font size="2" face="arial, helvetica"> inline css can be fun Read More...