Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.sao.ru/cats/~satr/JS/REF/blocks.htm
Дата изменения: Mon Nov 24 00:00:00 1997
Дата индексирования: Tue Oct 2 05:32:47 2012
Кодировка:

Поисковые слова: m 2
Heading and paragraph examples

Heading Examples

<H1>Heading 1</H1> <H2>Heading <b style="color:black;background-color:#66ffff">2</b></H2> <H3>Heading 3</H3> <H4>Heading 4</H4> <H5>Heading 5</H5> <H6>Heading 6</H6>

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Address Example

<ADDRESS> Netscape Communications Corporation<BR> 501 East Middlefield Road<BR> Mountain View, CA 94043<BR> </ADDRESS>
Netscape Communications Corporation
501 East Middlefield Road
Mountain View, CA 94043

Blockquote Example

<P> Here is an extract from a press release about Netscape Netcaster. </P> <BLOCKQUOTE> On August 13 1997, Netscape Communications announced the availability of Netscape Netcaster push client software as part of Netscape Communicator. Netscape Netcaster is the first push software based on open Internet standards, such as HTML, Java and JavaScript, allowing virtually any Web site to become a "channel" that delivers up-to-date information directly to the desktop. </BLOCKQUOTE> <BLOCKQUOTE> Bob Lisbonne, vice president of client product marketing at Netscape said: <BLOCKQUOTE> "Networked enterprises can begin to deploy Webtops as consistent corporate computing interfaces that span all platforms and can be updated dynamically." </BLOCKQUOTE> </BLOCKQUOTE>

Here is an extract from a press release about Netscape Netcaster.

On August 13 1997, Netscape Communications announced the availability of Netscape Netcaster push client software as part of Netscape Communicator. Netscape Netcaster is the first push software based on open Internet standards, such as HTML, Java and JavaScript, allowing virtually any Web site to become a "channel" that delivers up-to-date information directly to the desktop.
Bob Lisbonne, vice president of client product marketing at Netscape said:
"Networked enterprises can begin to deploy Webtops as consistent corporate computing interfaces that span all platforms and can be updated dynamically."

Aligning a Block of Content to the Right

<DIV ALIGN=RIGHT CLASS=RedStyle> <H1>Aligning a Block of Content to the Right</H1> <P>You can use a DIV tag to align a block of content to the right.</P> <P>The content can include anything you like, including tables, images, lists, and so on. Note, however, that right-aligned lists often do not look very neat.</P> </DIV>

Aligning a Block of Content to the Right

You can use a DIV tag to align a block of content to the right.

The content can include anything you like, including tables, images, lists, and so on. Note, however, that right-aligned lists often do not look very neat.


Paragraph Example

<HR WIDTH="50%" ALIGN=LEFT> <P>Use the P tag to display paragraphs. The P element starts on a new line, and is preceded by extra space. <P> You can also use the P tag to insert a line break with extra space. In most, but not all, cases, it is OK to omit the closing tag. </P>

Use the P tag to display paragraphs. The P element starts on a new line, and is preceded by extra space.

You can also use the P tag to insert a line break with extra space. In most, but not all, cases, it is OK to omit the closing tag.


PRE Example

<PRE> To: Lee Smith From: Chris Brown Subject: Meeting schedule and agenda for Web Site team Date: Thurs, 14 Aug 1997 22:00:05 9/20/97 8:00 a.<b style="color:black;background-color:#ffff66">m</b>.Room 218 9/21/97 9:00 a.<b style="color:black;background-color:#ffff66">m</b>.Room 218 9/22/97 <b style="color:black;background-color:#66ffff">2</b>:00 p.<b style="color:black;background-color:#ffff66">m</b>.Room 111 At the first meeting, we should discuss how to use the &lt;STYLE&gt; tag to make our home page more interesting. </PRE>
The mail message said:

To: Lee Smith

From: Chris Brown

Subject: Meeting schedule and agenda for Web Site team
Date: Thurs, 14 Aug 1997 22:00:05

9/20/97 8:00 a.m.Room 218
9/21/97 9:00 a.m.Room 218
9/22/97 2:00 p.m.Room 111

At the first meeting, we should discuss how to use

the <STYLE> tag to make our home page more interesting.


XMP Example

<P>The basic structure of an HTML document is:</P> <XMP> <HTML> <HEAD> header info goes here </HEAD> <BODY> body content goes here </BODY> </HTML>
</XMP>

The basic structure of an HTML document is:

<HTML> <HEAD> header info goes here </HEAD> <BODY> body content goes here </BODY> </HTML>