HTML - статьи

         

P


Description

The P element is used to denote a paragraph break,

and separates two blocks of text.

Many other elements automatically imply a text separation,

such as headings, list elements, blockquotes, etc.

Minimum Attributes

<P>characters...

All Possible Attributes

<P

ALIGN=center|left|right|justify|indent

WRAP=on|off

NOWRAP

CLEAR=left|right|all|"..."



LANG="..."

DIR=ltr|rtl

ID="..."

CLASS="...">characters...

</P>

Elements Allowed Within...

members of group

Allowed In Content Of...

Any element that permits members of group

Variations

In Version 1, the <P> element was a separator

and the </P> element was not defined.

RFC 1866 changed the concept to a container and introduced the

optional </P> element.

The LANG and DIR attributes are introduced with the

internationalization proposal.

HTML+ introduced the ALIGN attribute

and is the only proposal to mention the indent value.

The internationalization proposal includes

ALIGN=center|left|right|justify

Netscape 2.0 implements ALIGN=center|left|right and

MS Internet Explorer 2.0 implements ALIGN=center|left|right|justify

Version 3 does not currently include indent as an option

for ALIGN.

The CLEAR attribute is proposed in Version 3 to deal with text

able to float around an image defined with the IMG element.

HTML+ introduced the ID attribute

to replace the NAME attribute

in the A element to establish internal hyperlink destinations.

With the expected use of ID for style sheets, this is likely to change.

HTML+ proposed WRAP to turn off automatic word wrap, making it possible

to leave text as it appears in the source.

Version 3 replaces the WRAP attribute and values with the NOWRAP attribute.

The P element is Level 0.



Содержание раздела