### Class BR

## SYNOPSIS

    import HTMLgen

    class BR(AbstractTagSingle)
      string __module__ = 'HTMLgen'
      def __str__(self)
      dictionary attr_dict = {'clear': ''}
      string attr_template = '%(clear)s'
      tuple attrs = ('clear',)
      string tagname = 'BR'

      # Methods inherited by BR from AbstractTagSingle
      def __init__(self, *args, **kw)
      def __setattr__(self, name, value)

## DESCRIPTION

Break tag. Argument is an integer integer multiplier. BR(2)==`<BR><BR>`

### def __setattr__(self, name, value)

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.

## SEE ALSO

HTMLgen

AbstractTagSingle

Copyright © Robin Friedrich
All Rights Reserved
Comments to author: friedrich@pythonpros.com
Generated: Tue Apr 20, 1999