Приглашаем посетить
Черный Саша (cherny-sasha.lit-info.ru)

Setting Up the HTML Code

Previous Page
Table of Contents
Next Page

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>

Figure 7.1. Screenshot of <font>-styled paragraphs.

Setting Up the HTML Code



Previous Page
Table of Contents
Next Page