XHTML/ CSS - Forms
There are many ways to make forms and have people use them. In order to create a form in HTML you need to use the <form> tags. These will go inside the parent tags <body>. It would look something like this:
The input type asks for what kind of input you want.
The name is used for css styling.
The size changes the size of the text field.
The maxlength changes the amount of letters a user can input.
Value creates a pre-recorded value in the box before the user inputs.
https://www.youtube.com/watch?v=veKHw125UJs&index=23&list=PLC1322B5A0180C946
<form>
First name: <input type="text" name="fname" size="" maxlength = "" value=""/>
Last name:
<input type="text" name="lname"/>
</form>
The input type asks for what kind of input you want.
The name is used for css styling.
The size changes the size of the text field.
The maxlength changes the amount of letters a user can input.
Value creates a pre-recorded value in the box before the user inputs.
https://www.youtube.com/watch?v=veKHw125UJs&index=23&list=PLC1322B5A0180C946
Comments