datapitstop » Website Help »FormattingDirectory
Welcome to the data formatting help section. Here you will find examples of the different data formatting tags. Also, don't forget to check out the following complimentary formatting documentation:

 * Formatting Quick Reference


Quick Jump

Alignment <DIV ALIGN>

Description

The <DIV ALIGN> tag enables you to align text, images, or whatever else that lies between the <DIV ALIGN> and </DIV> tags. The options you have for ALIGN are LEFT, CENTER, and RIGHT. The difference between this tag and the <P ALIGN> tag is that the <DIV ALIGN> tag allows you to justify content without being forced to add a double line break.
Syntax

<DIV ALIGN="LEFT">DATA</DIV>
<DIV ALIGN="CENTER">DATA</DIV>
<DIV ALIGN="RIGHT">DATA</DIV>

Examples

Example 1- Alignment to the CENTER
CODE

<DIV ALIGN="CENTER">
This is my text aligned to the CENTER
</DIV>

RESULT

This is my text aligned to the CENTER

Example 2- Alignment to the RIGHT
CODE

<DIV ALIGN="RIGHT">
This is my text aligned to the RIGHT
</DIV>

RESULT

This is my text aligned to the RIGHT


Blockquote <BLOCKQUOTE>

Description

Using blockquote enables you to indent text from both sides of the page.
Syntax

<BLOCKQUOTE>
Your Data
</BLOCKQUOTE>
Examples

Example 1- Using BLOCKQUOTE on a paragraph
CODE

This is a normal paragraph that doesn't use blockquote. Notice how the paragraph starts from
the very left edge of the page? This is how a normal paragraph will display.
<BLOCKQUOTE>
This is a paragraph using blockquote. Notice how both sides are
indented? This can make your page look nicer and give you more
flexibility.
</BLOCKQUOTE>

RESULT

This is a normal paragraph that doesn't use blockquote. Notice how the paragraph starts from
the very left edge of the page? This is how a normal paragraph will display.
This is a paragraph using blockquote. Notice how both sides are
indented? This can make your page look nicer and give you more
flexibility.


Line Break <BR>

Description

A <BR> tag enables you to insert line breaks into your HTML documents.
Syntax

Some data<BR> more data<BR>
Examples

Example 1- Using Line Breaks on a sentence
CODE

This is a sentence without line breaks

This is <BR>a sentence <BR>with <BR> line breaks

RESULT

This is a sentence without line breaks

This is
a sentence
with
line breaks

Example 1- Using Line Breaks on Paragraphs
CODE

This is an example sentence. It is here to show you how to use
line breaks for a paragraph. If you really want to you can use
a line break instead of a paragraph tag.
<BR><BR>
This is my second paragraph, notice how we used 2 line breaks to
separate a paragraph?

RESULT

This is an example sentence. It is here to show you how to use
line breaks for a paragraph. If you really want to you can use
a line break instead of a paragraph tag.

This is my second paragraph, notice how we used 2 line breaks to
separate a paragraph?


Paragraph <P>

Description

The <P></P> tags enable you to create a new paragraph.
Syntax

<P>
Your paragraph or data.
</P>
<P>
Your paragraph or data.
</P>
Examples

Example 1- Creating Paragraphs
CODE

<P>
Amendment I
Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the government for a redress of grievances.
</P>
<P>
Amendment II
A well regulated militia, being necessary to the security of a free state, the right of the people to keep and bear arms, shall not be infringed.
</P>

RESULT

Amendment I
Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the government for a redress of grievances.

Amendment II
A well regulated militia, being necessary to the security of a free state, the right of the people to keep and bear arms, shall not be infringed.



Paragraph Align <P ALIGN>

Description

The <P ALIGN></P ALIGN> tags enable you to create and align paragraphs to the LEFT, CENTER, and RIGHT.
Syntax

<P ALIGN="LEFT">
Your paragraph or data.
</P> <P ALIGN="CENTER">
Your paragraph or data
</P> <P ALIGN="RIGHT">
Your paragraph or data
</P>
Examples

Example 1- Aligning Paragraphs to LEFT, CENTER, and RIGHT
CODE

<P ALIGN="LEFT">
Amendment I
Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the government for a redress of grievances.
</P>
<P ALIGN="CENTER">
Amendment II
A well regulated militia, being necessary to the security of a free state, the right of the people to keep and bear arms, shall not be infringed.
</P>
<P ALIGN="RIGHT">
Amendment III
No soldier shall, in time of peace be quartered in any house, without the consent of the owner, nor in time of war, but in a manner to be prescribed by law.
</P>

RESULT

Amendment I
Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the government for a redress of grievances.

Amendment II
A well regulated militia, being necessary to the security of a free state, the right of the people to keep and bear arms, shall not be infringed.

Amendment III
No soldier shall, in time of peace be quartered in any house, without the consent of the owner, nor in time of war, but in a manner to be prescribed by law.


Picture