Skip to content

Commit

Permalink
Added bullet points for input tag attributes in guide.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
bharadwajyarlagadda committed Sep 24, 2016
1 parent 8475c59 commit 19d7908
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions docs/guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ Korona can help you build ``<img>`` tag.

Korona supports input tag attributes like:

- accept(str): Specifies the types of files that the server accepts. The
- ``accept`` (str): Specifies the types of files that the server accepts. The
accept attribute can only be used with <input type="file">.

.. code-block:: python
Expand All @@ -1084,7 +1084,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="file" accept="audio/*" >
- align (str): Specifies the alignment of an image input. The align attribute
- ``align`` (str): Specifies the alignment of an image input. The align attribute
is only used with <input type="image">.

.. code-block:: python
Expand All @@ -1095,7 +1095,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="image" align="left" >
- alt (str): Specifies an alternate text for images. The alt attribute can only
- ``alt`` (str): Specifies an alternate text for images. The alt attribute can only
be used with <input type="image">.

.. code-block:: python
Expand All @@ -1106,7 +1106,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="image" alt="temp" >
- autocomplete (str): Specifies whether an <input> element should have
- ``autocomplete`` (str): Specifies whether an <input> element should have
autocomplete enabled. The autocomplete attribute works with the following
<input> types: text, search, url, tel, email, password, datepickers, range,
and color.
Expand All @@ -1119,7 +1119,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="email" autocomplete="on" >
- autofocus (bool): Specifies that an <input> element should automatically get
- ``autofocus`` (bool): Specifies that an <input> element should automatically get
focus when the page loads.

.. code-block:: python
Expand All @@ -1130,7 +1130,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input autofocus >
- checked (bool): Specifies that an <input> element should be pre-selected
- ``checked`` (bool): Specifies that an <input> element should be pre-selected
when the page loads. The checked attribute can be used with <input
type="checkbox"> and <input type="radio">.

Expand All @@ -1142,7 +1142,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="radio" checked >
- dirname (str): Specifies that the text direction will be submitted. The
- ``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".

Expand All @@ -1154,7 +1154,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input name="fname" dirname="fname.dir" >
- disabled (bool): Specifies that an <input> element should be disabled.
- ``disabled`` (bool): Specifies that an <input> element should be disabled.

.. code-block:: python
Expand All @@ -1164,7 +1164,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input disabled >
- form (str): Specifies one or more forms the <input> element belongs to.
- ``form`` (str): Specifies one or more forms the <input> element belongs to.

.. code-block:: python
Expand All @@ -1174,7 +1174,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input form="form1" >
- formaction (str): Specifies the URL of the file that will process the input
- ``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".

Expand All @@ -1186,7 +1186,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="submit" formaction="demo.asp" >
- formenctype (str): Specifies how the form-data should be encoded when
- ``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".

Expand All @@ -1198,7 +1198,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="submit" formenctype="application/x-www-form-urlencoded" >
- formmethod (str): Defines the HTTP method for sending data to the action URL.
- ``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".

.. code-block:: python
Expand All @@ -1209,7 +1209,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="submit" formmethod="get" >
- formnovalidate (bool): Defines that form elements should not be validated
- ``formnovalidate`` (bool): Defines that form elements should not be validated
when submitted. The formnovalidate attribute can be used with type="submit".

.. code-block:: python
Expand All @@ -1220,7 +1220,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="submit" formnovalidate >
- formtarget (str): Specifies where to display the response that is received
- ``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".

Expand All @@ -1232,7 +1232,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="submit" formtarget="_parent" >
- height (int/float): Specifies the height of an <input> element. The height
- ``height`` (int/float): Specifies the height of an <input> element. The height
attribute is used only with <input type="image">.

.. code-block:: python
Expand All @@ -1243,7 +1243,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="image" height="200" >
- list (str): Refers to a <datalist> element that contains pre-defined options
- ``list`` (str): Refers to a <datalist> element that contains pre-defined options
for an <input> element.

.. code-block:: python
Expand All @@ -1254,7 +1254,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input list="list1" >
- max (int/date/time): Specifies the maximum value for an <input> element. The
- ``max`` (int/date/time): Specifies the maximum value for an <input> element. The
max attribute works with the following input types: number, range, date,
datetime, datetime-local, month, time and week.

Expand All @@ -1266,7 +1266,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="date" max="2016-09-24" >
- maxlength (int): Specifies the maximum number of characters allowed in an
- ``maxlength`` (int): Specifies the maximum number of characters allowed in an
<input> element.

.. code-block:: python
Expand All @@ -1277,7 +1277,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input maxlength="5" >
- min (int/date/time): Specifies a minimum value for an <input> element. The
- ``min`` (int/date/time): Specifies a minimum value for an <input> element. The
min attribute works with the following input types: number, range, date,
datetime, datetime-local, month, time and week.

Expand All @@ -1289,7 +1289,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="date" min="2016-09-24" >
- multiple (bool): Specifies that a user can enter more than one value in an
- ``multiple`` (bool): Specifies that a user can enter more than one value in an
<input> element. The multiple attribute works with the following input types:
email, and file.

Expand All @@ -1301,7 +1301,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="file" multiple >
- name (str): Specifies the name of an <input> element.
- ``name`` (str): Specifies the name of an <input> element.

.. code-block:: python
Expand All @@ -1311,7 +1311,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input name="name1" >
- pattern (str): Specifies a regular expression that an <input> element's
- ``pattern`` (str): Specifies a regular expression that an <input> element's
value is checked against. The pattern attribute works with the following input
types: text, date, search, url, tel, email, and password.

Expand All @@ -1323,7 +1323,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="email" pattern="[A-Za-z]{3}" >
- placeholder (str): Specifies a short hint that describes the expected value
- ``placeholder`` (str): Specifies a short hint that describes the expected value
of an <input> element. The placeholder attribute works with the following
input types: text, search, url, tel, email, and password.

Expand All @@ -1335,7 +1335,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="text" placeholder="Full name" >
- readonly (bool): Specifies that an input field is read-only.
- ``readonly`` (bool): Specifies that an input field is read-only.

.. code-block:: python
Expand All @@ -1345,7 +1345,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input readonly >
- required (bool): Specifies that an input field must be filled out before
- ``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.
Expand All @@ -1358,7 +1358,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="search" required >
- size (int): Specifies the width, in characters, of an <input> element. The
- ``size`` (int): Specifies the width, in characters, of an <input> element. The
size attribute works with the following input types: text, search, tel, url,
email, and password.

Expand All @@ -1370,7 +1370,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="password" size="10" >
- src (str): Specifies the URL of the image to use as a submit button. The src
- ``src`` (str): Specifies the URL of the image to use as a submit button. The src
attribute is required for <input type="image">, and can only be used with
<input type="image">.

Expand All @@ -1382,7 +1382,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="image" src="demo.asp" >
- step (int): Specifies the legal number intervals for an input field. The step
- ``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.

Expand All @@ -1394,7 +1394,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="range" step="1" >
- type (str): Specifies the type <input> element to display.
- ``type`` (str): Specifies the type <input> element to display.

.. code-block:: python
Expand All @@ -1404,7 +1404,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input type="submit" >
- value (str): Specifies the value of an <input> element. The value attribute
- ``value`` (str): Specifies the value of an <input> element. The value attribute
cannot be used with <input type="file">.

.. code-block:: python
Expand All @@ -1415,7 +1415,7 @@ Korona supports input tag attributes like:
input1.construct()
# <input value="value1" >
- width (int/float): Specifies the width of an <input> element. The width
- ``width`` (int/float): Specifies the width of an <input> element. The width
attribute is used only with <input type="image">.

.. code-block:: python
Expand Down

0 comments on commit 19d7908

Please sign in to comment.