Communication Technology: Creating Forms
I learnt how to make forms in which users can submit information today. Pretty simple really. The image below shows the coding I've learnt.
There are two tags that are needed: <form> and <input>. Form dictates that it is a form simply, and input tells the computer that these are user-defined fields.
Inputs are defined by the user. I've used name and age, but it could be anything.
Finally, there's a submit button. A whole host of other directions can be given such as <password> or <file>. Using previous knowledge of CSS, I quickly changed the font to Arial from Times New Roman- this is what the span class style 1 bits are; merely telling the browser to show the text in Arial.
The coding... (click to enlarge):
...and here's the information as it appears in preview (click to enlarge):

0 comments :
Post a Comment