### Class Embed

## SYNOPSIS

    import HTMLgen

    class Embed(AbstractTagSingle)
      string __module__ = 'HTMLgen'
      dictionary attr_dict = {'hspace': '', 'hidden': ' ...
      string attr_template = '%(align)s%(border)s%(heig ...
      tuple attrs = ('align', 'border', 'heigh ...
      string tagname = 'EMBED'

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

## DESCRIPTION

Embed an application in this document.

### 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.

### def __str__(self)

Generate an HTML formatted string for this object.

## SEE ALSO

HTMLgen

AbstractTagSingle

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