• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 7. Formatting Text > Setting Up the HTML Code

Setting Up the HTML Code

The HTML code for this lesson contains three paragraphs of text as shown in Listing 7.1. The contents of these paragraphs are wrapped inside <font> elements. The first paragraph has been set to a larger font size. It also has been colored and styled in bold and italic. The results are shown in Figure 7.1.

Listing 7.1. HTML Code Containing Markup for Lesson 7

<p align="center">
    <font size="4" color="#990000" face="times, times new
    roman">
    <b><i>Lorem ipsum dolor sit amet, consectetuer adipiscing
    elit...</i></b></font>
</p>
<p>
    <font size="2" face="arial, helvetica">
    Ut wisi enim ad minim
veniam, quis nostrud exerci...</font>
</p>
<p>
    <font size="2" face="arial, helvetica">
    Duis autem vel eum iriure dolor in hendrerit vulputate...
    </font>
</p>
<p>
    <font size="2" face="arial, helvetica"><p> nostrud
    exerci...
    </font>
</p>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint