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

Paragraph and Line Break Tags, Break Tag In HTML


The P (paragraph) and BR (breaktag lets you insert block and lines of text on your page.

The P (paragraph) tag: 

The P tag is a container elements, but with an implied ending. You do not have to include the /p> end tag. Any following start tag that defines a new block element implies the end of the tag. So, when you use the P tag, just insert the p> start tag at the beginning of a paragraph but level off the /p> at the end.

Example:

HTML>

HEAD>

TITLE> My First Web Page /TITLE>

/HEAD>

BODY>

H1> What Benefit Of E-Mail /H1>

P>

The main benefit of e-mail when compared to other messaging mediums like fax is that it is almost instantaneous.

/P>

/BODY>

/HTML>

The BR (Line Break) tag:

The BR (Line Break) tag is an empty, or stand-alone, tag that simply inserts a Line Break.

Example:

P>For Further Details Contact BR>

USA BR>

Chandigarh BR>

Canada

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

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