Perl CGI Programming
HTML Elements: Headings
The <H1> something </H1> construct allows you to specify a block of text to be displayed as a first level header.
To use this construct in Perl CGI, use the construct:
print $query->h1({-align=>'center'}, 'Some Text Here');
The <H2> something </H2> construct is the same, but specifies a second level header.
This continues, from 1 through 6.
Back to Syllabus
Previous: HTML Elements: Divisions / Paragraphs
Next: HTML Elements: Content Indicators