[prev] [index] [next]

Calling CGI.pm Methods (cont)

Examples of HTML shortcuts:

h1()   or   h1 <H1>
h1('some','contents') <H1>some contents</H1>
h1({-align=>left}) <H1 ALIGN="left">
h1({-align=>left},'Head') <H1 ALIGN="left">
Head</H1>
p()   or   p <P>
p('how\'s',"this","now") <P>how's this now</P>
p({-align=>center},'Now!') <P ALIGN="center">
Now!</P>