diff --git a/docs/guide.rst b/docs/guide.rst index 27e26a6..5c0e53c 100644 --- a/docs/guide.rst +++ b/docs/guide.rst @@ -1075,79 +1075,110 @@ Korona supports input tag attributes like: - accept(str): Specifies the types of files that the server accepts. The accept attribute can only be used with . + - align (str): Specifies the alignment of an image input. The align attribute is only used with . + - alt (str): Specifies an alternate text for images. The alt attribute can only be used with . + - autocomplete (str): Specifies whether an element should have autocomplete enabled. The autocomplete attribute works with the following types: text, search, url, tel, email, password, datepickers, range, and color. + - autofocus (bool): Specifies that an element should automatically get focus when the page loads. + - checked (bool): Specifies that an element should be pre-selected when the page loads. The checked attribute can be used with and . + - dirname (str): Specifies that the text direction will be submitted. The dirname attribute's value is always the name of the input field, followed by ".dir". + - disabled (bool): Specifies that an element should be disabled. + - form (str): Specifies one or more forms the element belongs to. + - formaction (str): Specifies the URL of the file that will process the input control when the form is submitted. The formaction attribute is used with type="submit" and type="image". + - formenctype (str): Specifies how the form-data should be encoded when submitting it to the server. The formenctype attribute is used with type="submit" and type="image". + - formmethod (str): Defines the HTTP method for sending data to the action URL. The formmethod attribute can be used with type="submit" and type="image". + - formnovalidate (bool): Defines that form elements should not be validated when submitted. The formnovalidate attribute can be used with type="submit". + - formtarget (str): Specifies where to display the response that is received after submitting the form. The formtarget attribute can be used with type="submit" and type="image". + - height (int/float): Specifies the height of an element. The height attribute is used only with . + - list (str): Refers to a element that contains pre-defined options for an element. + - max (int/date/time): Specifies the maximum value for an element. The max attribute works with the following input types: number, range, date, datetime, datetime-local, month, time and week. + - maxlength (int): Specifies the maximum number of characters allowed in an element. + - min (int/date/time): Specifies a minimum value for an element. The min attribute works with the following input types: number, range, date, datetime, datetime-local, month, time and week. + - multiple (bool): Specifies that a user can enter more than one value in an element. The multiple attribute works with the following input types: email, and file. + - name (str): Specifies the name of an element. + - pattern (str): Specifies a regular expression that an element's value is checked against. The pattern attribute works with the following input types: text, date, search, url, tel, email, and password. + - placeholder (str): Specifies a short hint that describes the expected value of an element. The placeholder attribute works with the following input types: text, search, url, tel, email, and password. + - readonly (bool): Specifies that an input field is read-only. + - required (bool): Specifies that an input field must be filled out before submitting the form. The required attribute works with the following input types: text, search, url, tel, email, password, date pickers, number, checkbox, radio, and file. + - size (int): Specifies the width, in characters, of an element. The size attribute works with the following input types: text, search, tel, url, email, and password. + - src (str): Specifies the URL of the image to use as a submit button. The src attribute is required for , and can only be used with . + - step (int): Specifies the legal number intervals for an input field. The step attribute works with the following input types: number, range, date, datetime, datetime-local, month, time and week. + - type (str): Specifies the type element to display. + - value (str): Specifies the value of an element. The value attribute cannot be used with . + - width (int/float): Specifies the width of an element. The width attribute is used only with . + Korona can help you build ```` tag. .. code-block:: python