<input>

Sunday, 11.12.2016, 05:08
Welcome Guest
 
All Html Tags
<html>
<head>
<body>
<div>
<span>
<DOCTYPE>
<title>
<link>
<meta>
<style>
<p>
<h1-h6>
<strong>
<em>
<abbr>
<acronym>
<address>
<bdo>
<blockquote>
<cite>
<q>
<code>
<ins>
<del>
<dfn>
<kbd>
<pre>
<samp>
<var>
<br>
<img>
<area>
<map>
<object>
<param>
<form>
<input>
<textarea>
<select>
<option>
<optgroup>
<button>
<label>
<fieldset>
<legend>
<table>
<tr>
<td>
<th>
<tbody>
<thead>
<tfoot>
<col>
<colgroup>
<caption>
<ul>
<ol>
<li>
<dl>
<dt>
<dd>
<script>
<noscript>

Articles for Webmaster
:: Proffesional Website Builders
:: Div Tag in Html Examples
:: Notepad As a Free Html Editor
Authorization

input Tag in Html

A form element that can be represented as a text box, password text box, check box, radio button, submit button, reset button, hidden input field, image (which acts as a submit button), file selection box or general button.

input Tag Attributes

name - can be used so that the value of the element can be processed.
type - can be used to specify the type of input. Values can be text (default), password, checkbox, radio, submit, reset, hidden, image, file or button.
value - can be used to specify the initial value. It is required when type is set to checkbox or radio. It should not be used when type is set to file.
checked - can be used when type is set to checkbox or radio to set the initial state of a check box or radio button to be selected. It must be used in the format checked="checked".
maxlength can be used to specify the maximum number of characters allowed in a text box.
src - can be used when type is set to image to specify the location of an image file.
alt - can be used when type is set to image to specify the alternative text of the image, which should be a short description.
accept - can be used when type is set to file to specify which file-types should be accepted. This is a comma-separated list of MIME types.
disabled - can be used to disable an element. It must be used in the format disabled="disabled".
readonly - can be used to specify that the value of the element can not be changed. It must be used in the format readonly="readonly".
accesskey - can be used to associate a keyboard shortcut to the element.
tabindex - can be used to specify where the element appears in the tab order of the page.

Browser Support

    

Example

<form action="somescript.php" />
<p>Do you like pie?</p>
<div>yes <input type="radio" name="pie" value="yes" checked="checked" /></div>
<div>no <input type="radio" name="pie" value="no" /></div>
<div>Your name: <input type="text" name="name" /></div>
<div><input type="image" name="submitimage" src="someimage.gif" /></div>
</form>
Search

Advertisement
Friends
superbwebsitebuilders.com
HtmlCodeExamples.Com © 2016