HTML Form Elements


 <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">
 Password:<input type="password" placeholder="Enter Password" maxlength="8">
 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>
 checkbox:<input type="checkbox" name="item1" value="item1">mango
 <input type="checkbox" name="item1" value="item1">Orange
 RadioButton:<input type="radio" name="male" value="M">male
 <input type="radio" name="male" value="M">female
 File Upload:<input type="file" name="resume" id="resume">
 <button type="submit">Submit button</button>
 <button type="reset">Reset button</button>

Leave a Reply

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

You are commenting using your 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