import HTMLgen
class HR(AbstractTagSingle)
string __module__ = 'HTMLgen'
dictionary attr_dict = {'size': '', 'class': '', ...
string attr_template = '%(align)s%(class)s%(color ...
tuple attrs = ('align', 'class', 'color' ...
string tagname = 'HR'
# Methods inherited by HR from AbstractTagSingle
def __init__(self, *args, **kw)
def __setattr__(self, name, value)
def __str__(self)
Break the current text flow and insert a horizontal rule.
Intercept attribute assignments.
If the attribute is a legal HTML tag attribute add it to the dict used for substitution in __str__, otherwise just set it as an instance attribute.
Generate an HTML formatted string for this object.
Copyright © Robin Friedrich
All Rights Reserved
Comments to author: friedrich@pythonpros.com
Generated: Sat Mar 7 1998