Write the HTML code for generating the form as shown below. Apply the internal CSS to following form change the font size of the heading to 6pt and change the color to red and also change the background color yellow
<html>
<form action=B1.html method="GET">
<br>
<fieldset>
<h1><span style="color:red;font:30">Operating System Information </h1>
<body bgcolor="yellow">
<br>
Enter your name<input type="text" name="uname">
<br><br>
Password<input type password="password" name="pswd">
<br>
<p>Which of the following opearating system have you used?</p>
<input type="checkbox" value="linux">Linux
<input type="checkbox" value="windows10">Windows 10
<input type="checkbox" value="macintosh">Macintosh
<p>Which of the following opearating system do you like the best?</p>
<input type="radio" value="linux">Linux
<input type="radio" value="windows10">Windows 10
<input type="radio" value="macintosh">Macintosh 8.0
<br><br>
You have completed the form<input type="submit" value="submit">
</body>
</fieldset>
</form>
</html>
Comments
Post a Comment