default_value property

default_value property

When the type attribute of the element has the value “text”, “file” or “password”, this represents the HTML value attribute of the element. The value of this attribute does not change if the contents of the corresponding form control, in an interactive user agent, changes. See the value attribute definition in HTML 4.01.

Definition:

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

See Also