Formatting Tags

Formatting tags are used to modify the presentation of text in HTML. Some of these tags modify the font and style of the text; others create line feeds, quotes, and horizontal rules.

Type: Standalone

Syntax:

 

Description: Sets the size, color, and font face of fonts for a document.

Type: Container

Syntax:

text

Description: Sets text to a size larger than the default font.

 

Type: Container

Syntax:

text

Description: Indents a block of text.

Type: Standalone

Syntax:

Description: Creates a linefeed in the text. The attributes are all optional and determine where the line break falls .

Type: Container

Syntax:

text

Description: Sets text to bold.

Type: Container

Syntax:

text

Description: Centers text.

Type: Container

Syntax:

text

Description: Used for formatting. Sets the size, color, and font face of fonts for text. Can be used to offset the tag.

n >

Type: Container

Syntax:

n ALIGN="value"> text n >

Here, n is a number between 1 and 6, such as

text

.

Description: Sets the size of the text inside the container to one of six font sizes: 1 is the largest and 6 is the smallest. ALIGN can be set to LEFT , RIGHT , CENTER , or JUSTIFY .


Type: Standalone

Syntax:


Description: Creates a horizontal line. Using ALIGN , you can specify LEFT , RIGHT , or CENTER . NOSHADE turns off the shadow effect. SIZE controls the thickness of the line in pixels. WIDTH can be set to a percentage (preferable) such as 50%, or to a number of pixels. Note: You can insert a horizontal rule through Domino Designer.

Type: Container

Syntax:

text

Description: Sets text to italics.

Type: Container

Syntax:

text

Description: Sets the text in the container to a fixed-width font, which preserves spaces, tabs, and similar elements. Note: Typically, HTML ignores tabs, extra spaces, and carriage returns.

Type: Container

Syntax:

text

Description: Creates a paragraph. ALIGN can be set to LEFT , RIGHT , CENTER , or JUSTIFY .

Type: Container

Syntax:

text

Description: Sets text to a size smaller than the default font.

Type: Container

Syntax:

text

Description: Used to apply styles in the STYLE list. Styles are set as they are in Cascading Style Sheet Level 1.

Type: Container

Syntax:

text

Description: Sets text to subscript.

Type: Container

Syntax:

text

Description: Sets text to superscript.

Type: Container

Syntax:

text

Description: Sets text to strikethrough .

Type: Container

Syntax:

text

Description: Sets text to a fixed-width font, such as Courier.

Type: Container

Syntax:

text

Description: Sets text to underline.

Категории