Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The difference is that:</p> <pre><code>&lt;input type="image" name="ctl00$Login1$ibLogin" /&gt; </code></pre> <p>will result in two form fields: <code>ctl00$Login1$ibLogin.x</code> and <code>ctl00$Login1$ibLogin.y</code> to indicate what part of the image was clicked, although you have no image in your markup.</p> <p>From <a href="http://www.w3.org/TR/html4/interact/forms.html#h-17.4.1" rel="nofollow noreferrer">17.4.1 Control types created with INPUT</a> of the <a href="http://www.w3.org/TR/html4/" rel="nofollow noreferrer">HTML 4.01 Specification</a>:</p> <blockquote> <p><strong>image</strong></p> <p>Creates a graphical <a href="http://www.w3.org/TR/html4/interact/forms.html#submit-button" rel="nofollow noreferrer">submit button</a>. The value of the <a href="http://www.w3.org/TR/html4/interact/forms.html#adef-src" rel="nofollow noreferrer"><code>src</code></a> attribute specifies the URI of the image that will decorate the button. For accessibility reasons, authors should provide <a href="http://www.w3.org/TR/html4/struct/objects.html#alternate-text" rel="nofollow noreferrer">alternate text</a> for the image via the <a href="http://www.w3.org/TR/html4/struct/objects.html#adef-alt" rel="nofollow noreferrer">alt</a> attribute.</p> <p>When a pointing device is used to click on the image, the form is submitted and the click coordinates passed to the server. The x value is measured in <a href="http://www.w3.org/TR/html4/types.html#type-pixels" rel="nofollow noreferrer">pixels</a> from the left of the image, and the y value in pixels from the top of the image. The submitted data includes name.x=x-value and name.y=y-value where "name" is the value of the <code>name</code> attribute, and x-value and y-value are the x and y coordinate values, respectively.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload