Previous Next blank.gif Home Page

Class Heading - Heading markups for H1 - H6


SYNOPSIS

import HTMLgen
class Heading
  def __init__(self, level=1, text='')
  def __repr__(self)
  def append(self, text)

alias H = Heading
alias Head = Heading
alias Header = Heading

DESCRIPTION

The level arg is an integer for the level of the heading. Valid levels are 1-6. The text arg is a string (or any object) for the text of the heading.

def append(self, text)

Add text onto the end of the Heading object.

SEE ALSO

HTMLgen


Previous Next blank.gif Home Page
Buzz.gif

Copyright © Robin Friedrich
All Rights Reserved
Comments to author: friedric@phoenix.net
Generated: Mon Dec 2 1996