HTML Heading Procedures

The following table describes HTML heading procedures:

Procedure

Description

html_h1

Marks the start of text for heading level one by using the HTML <H1> tag. This heading text appears more prominently than heading level two text.

Syntax:

html_h1(string attributes)

Attributes: Defines the HTML attributes that are incorporated inside the HTML <H1> tag.

Example:

do html_h1('') 
print 'This is a heading' () 
do html_h1_end 

html_h1_end

Marks the end of text for heading level one by using the HTML </H1> tag.

Syntax:

html_h1_end 

html_h2

Marks the start of text for heading level two by using the HTML <H2> tag. This heading text appears less prominently than heading level one text and more prominently than heading level three text.

Syntax:

html_h2(string attributes)

Attributes: Defines the HTML attributes that are incorporated inside the HTML <H2> tag.

Example:

do html_h2('') 
print 'This is a heading' () 
do html_h2_end 

html_h2_end

Marks the end of text for heading level two by using the HTML </H2> tag.

Syntax:

html_h2_end 

html_h3

Marks the start of text for heading level three by using the HTML <H3> tag. This heading text appears less prominently than heading level two text and more prominently than heading level four text.

Note: This heading level is the default value.

Syntax:

html_h3(string attributes)

Attributes: Defines the HTML attributes that are incorporated inside the HTML <H3> tag.

html_h3_end

Marks the end of text for heading level three by using the HTML </H3> tag.

Syntax:

html_h3_end 

html_h4

Marks the start of text for heading level four by using the HTML <H4> tag. This heading text appears less prominently than heading level three text and more prominently than heading level five text.

Syntax:

html_h4(string attributes)

Attributes: Defines the HTML attributes that are incorporated inside the HTML <H4> tag.

html_h4_end

Marks the end of text for heading level four by using the HTML </H4> tag.

Syntax:

html_h4_end 

html_h5

Marks the start of text for heading level five by using the HTML <H5> tag. This heading text appears less prominently than heading level four text and more prominently than heading level six text.

Syntax:

html_h5(string attributes)

Attributes: Defines the HTML attributes that are incorporated inside the HTML <H5> tag.

html_h5_end

Marks the end of text for heading level five by using the HTML </H5> tag.

Syntax:

html_h5_end 

html_h6

Marks the start of text for heading level six by using the HTML <H6> tag. This heading text appears less prominently than heading level five text.

Syntax:

html_h6(string attributes)

Attributes: Defines the HTML attributes that are incorporated inside the HTML <H6> tag.

html_h6_end

Marks the end of text for heading level six by using the HTML </H6> tag.

Syntax:

html_h6_end