HTML Form Elements

 

<html>
 <body bgcolor="yellow">
 <h1> Html Form Controls</h1>
 Text Box:<input type="text" placeholder="Enter your name" maxlength="10" size="100" name="full_name"/*php*/ id="full_name" readonly="readonly",disabled="disabled" value="Hello India">
 <br><br>
 Password:<input type="password" placeholder="Enter Password" maxlength="8">
 <br><br>
 Text Area:<br><textarea cols="10" rows="10"></textarea><br><br>
 Select:<select name="city" id="city">
 <option value="">Choose city</option>
 <option value="Bangalore">Bangalore</option>
 <option value="Chennai">Chennai</option>
 <option value="Delhi">Delhi</option>
 </select><br><br>
 checkbox:<input type="checkbox" name="item1" value="item1">mango
 <input type="checkbox" name="item1" value="item1">Orange
 <br><br>
 RadioButton:<input type="radio" name="male" value="M">male
 <input type="radio" name="male" value="M">female
 <br><br>
 File Upload:<input type="file" name="resume" id="resume">
 <br><br>
 <button type="submit">Submit button</button>
 <button type="reset">Reset button</button>
 </body>
</html>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s