понедельник, 18 февраля 2013 г.

Formatting Your Text, Formatting Text In HTML


Using Italic and Bold Highlighting:
HTML has two ways to include italic or blog text on your web page. The first way involves using literal tags: The B (Bold) tag and I (Italic). The second way is to use logical tags: The EM (emphasis) and Strong (Strong emphasis) tag. Most browsers display the I (Italic) and EM (Emphasis) tags identically, just as they display the B (Bold) and Strong (Strong Emphasis) tags identically.

Block Quotes:

The Block quote (Block Quote) tag double-indents a block of text from both margins.

Example:

HTML>

HEAD>

TITLE> My First Web Page /TITLE>

/HEAD>

BODY>

H1> How To Create Web Site

BLOCKQUOTE>

P>

The internet mainly connects networks of computers. In a corporate wide networks, each department has a local Area Network that allows sharing of files, database, printing and other peripheral devices.

P>

/BLOCKQUOTE>

/BODY>

/HTML>

Preformatted text:

The PRE (Preformatted text) tag is used to display a block of “preformatted” text in a monospace, fixed-pitch font. You use the PRE tag to display a block of text “as is”, include all spaces and hand returns. One of the primary uses of the PRE tag is to display text in a tabular or columnar format in which you want to make sure that the columns remain properly aligned.

Examples:

HTML>

HEAD>

TITLE> My First Web Site /TITLE>

/HEAD>

BODY>

PRE>

SALES FIGURES FOR FIRST QUARTER OF 2009

---------------------------------------------------------

JANUARY FABRURY MARCH TOTAL

ANDERSON $ 10,200 $ 20,015 $14,685 $ 44,900

BRAKER 30,000 25,000 50,225 106,610

PETERSON 15,900 20,115 18,890 54,905

WILSON 40,100 35,000 29,000 104,100

TOTAL $96,700 $ 101,015 $ 112,800 $ 310,515

/PER>

/BODY>

/HTML>

Комментариев нет:

Отправить комментарий