Thursday, 2 June 2016

Write a HTML code to generate following output with form controls.

<html>
<title>form.html</title>
<body>
<form method="post">
<label><b><font size="+5">Welcome to form</font></b></label><br>
<label><b>First Name:</label><br>
<input type="text" size="20" placeholder="Enter your First Name"><br>
<label><b>Last Name:</b></label><br>
<input type="text" size="20" placeholder="Enter your Last Name"><br>
<label><b>Sex:&nbsp;Male<input type="radio" name="r1" value="M" checked>&nbsp;Female<input type="radio" name="r1" value="F"></b><br>
<label><b>Hobbies:</label>&nbsp;<input type="checkbox" checked>Reading&nbsp;<input type="checkbox">Writing&nbsp;<input type="checkbox">Paying</b><br>
<input type="submit" value="submit"></form></body>
</html>


Bharat

Author & Editor

A mint of creativity Design, Development, Marketing.Crafting visually stunning memorable experiences for web and interfaces.Design solutions for any media, are web designer

0 comments:

Post a Comment