Write the HTML code to create the following: A text box named username that will
ID: 3865434 • Letter: W
Question
Write the HTML code to create the following: A text box named username that will be used to accept the user name of web page visitors. The text box should allow a maximum of 30 characters to be entered. A group of radio buttons that website visitors can check to vote for their favorite day of the week A select list that asks website visitors to select their favorite social networking site A fieldset and legend with the text "Shipping Address" around the following form controls: AddressLine1, AddressLine2, City, State, ZIP An image called signup.gif as an image button on a form A hidden input control with the name userid A password box form control with the name pword A form tag to invoke server-side processing using http: //webdevfoundations.net/scripts/mydemo.asp and the post methodExplanation / Answer
a)Username: <input type="text" name="username" maxlength="30">
b) <input type="radio" name="gender" value="Monday"> Monday<br>
<input type="radio" name="gender" value="Tuesday"> Tuesday<br>
<input type="radio" name="gender" value="Wednesday"> Wednesday<br>
<input type="radio" name="gender" value="Thursday"> Thursday<br>
<input type="radio" name="gender" value="Friday"> Friday<br>
<input type="radio" name="gender" value="Saturday"> Saturday<br>
<input type="radio" name="gender" value="Sunday"> Sunday<br>
c)<select name="Social Networking Sites" multiple>
<option value="Facebook">Facebook</option>
<option value="Twitter">Twitter</option>
<option value="WhatsApp">WhatsApp</option>
<option value="Instagram">Instagram</option>
<option value="WeChat">WeChat</option>
</select>
d)<form>
<fieldset>
<legend>Shipping Address:</legend>
AddressLine1: <input type="text"><br>
AddressLine2: <input type="text"><br>
City: <input type="text"><br>
State: <input type="text"><br>
ZIP: <input type="text"><br>
</fieldset>
</form>
e)
<input type="image" src="signup.gif" alt="Image">
Please place the source(src) image with the name and image signup in the folder.
f)
<input type="hidden" name="userid">
g)
User password:<br>
<input type="password" name="pword">
h)
</form>
While opening that link iam getting below error.
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
So, iam not able to open that.
But the post method in the form syntax is above one.
Thanks & Regards.
If any doubts please feel free to reach me.
<form action="server-script-url-here" method="POST" >Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.