id property

id property

The value of the ‘id’ attribute on the given element, or the empty string if ‘id’ is not present.

Definition:

@property
def id(self):
    ...
@id.setter
def id(self, value):
    ...

See Also