Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <title> Basic Form</title>
- <body style="background-color:#E8E8E8"; >
- <h1 align="center"> <img src="w3schoolslogo.gif">
- <br>Basic Form</h1>
- <h6 align="center"> <a href="http://w3schools.com" target="testframe" title="help">Click here to go to w3schools</a></h6>
- <hr>
- <p>
- <form name="input" action="html_form_action.asp" method="get">
- <iframe src="http://www.google.co.in/" name="testframe" width="800" height="450" style="float:right;" > </iframe>
- <fieldset>
- <legend>Personal information:</legend>
- First name: <input type="text" name="firstname"><br><br>
- Last name: <input type="text" name="lastname"><br><br>
- Sex: <input type="radio" name="sex" value="male">Male<br>
-         <input type="radio" name="sex" value="female">Female<br><br>
- Contact No.: <input type="text" name="Cntctno"><br><br>
- Address:<br>                    <textarea rows="4" cols="30">
- </textarea>
- </fieldset>
- <fieldset>
- <legend>User information:</legend>
- Username: <input type="text" name="usrname"><br><br>
- Password: <input type="password" name="pwd"><br><br>
- Confirm Password: <input type="password" name="Cnfrmpwd"><br>
- </fieldset>
- <fieldset>
- <legend>Other information:</legend>
- <br> Favourite Car:<select name="Dropdown">
- <option value="volvo">Volvo</option>
- <option value="saab">Saab</option>
- <option value="fiat">Fiat</option>
- <option value="audi">Audi</option>
- </select>
- <br>
- </fieldset>
- <br><br>
- <input type="checkbox" name="agree" value="yes">I agree to the terms and conditions<br>
- <input type="submit" value="Submit">
- </form>
- </p>
- <p>
- <audio controls>
- <source src="/Kalimba.mp3" type="audio/mpeg">
- </audio>
- </p>
- </body>
- </html>
- <!try the foll: frames, form,tables,Form tools(listbox,checkbox,etc), hyperlinks>
Advertisement
Add Comment
Please, Sign In to add comment