HTML – Hidden fields Hidden fields will not be shown by the browser. Those are necessary when when we have to deal with forms and databases in MySQL, but it does not limit to that. We will use the hidden fields to send additional information to the database, in addition to the information sent …
HTML – Reset Buttons The reset buttons are used for bigger forms usually, in case the user has mistyped the majority of the information introduced, therefore wanting to erase the entire introduced text. HTML <input type=”reset” value=”Reset” /><br /> <input type=”reset” value=”Delete” /><br /> <input type=”reset” value=”Clear form ” /> Demo HTML- The reset …
HTML – Submit Buttons The submit buttons are another use of the <input> tag. Those will show a typical button, which will perform the action of sending the form. HTML <input type=”submit” value=”Submit” /><br /> <input type=”submit” value=”Send” /><br /> <input type=”submit” value=”Continue” /> Demo As you can see we made a variation of sending buttons, …
HTML – Select menu The ‘drop down’ lists are one of the most practical types of lists. You probably already came across them all over the internet, but without knowing they had a fancy name like this. HTML <select name=”my_html_select_box”> <option>New York </option> <option>Bucharest</option> <option>Madrid</option> </select> Demo New York Bucharest Madrid The browser will …
HTML – Upload form The upload form is a very practical form to allow the users to send photos, documents or any other kind of files to the server. To create an upload form we will only have to establish the file value to the <input type=””> tag. HTML Code: <input type=”file” /> Demo Upload – MAX_FILE_SIZE …
HTML – Textareas Textareas of this kind are used for comments, blogs, memos or any other purpose that requires an expression space. To create a text area we will need an opening and ending tag like this: HTML <textarea>Text area!</textarea> Demo Textarea – text area size To change the standard size of a text area …
HTML – Radio Buttons The radio buttons are used to allow the user to choose one of the listed options. To be able to make this type of form we will firstly need to give a name to the fields. HTML <p>Choose citizenship </p> <p> English: <input type=”radio” name=”citizenship” /><br /> Rumanian: <input type=”radio” …
HTML – Checkbox Checkboxes, as we said in a previous tutorial, are part of the applications that the input tag offers. What is different from the previous tutorial is that we will look more into the subject this time. Checkbox – Creating the lists The checkboxes come in helping the user, by alowing hi …
HTML – Password field The password fields are a special category of the input tag. Still, writing them is as simple as writing a normal text field. HTML Code: <input type=”password” size=”5″ maxlength=”5″ /> <input type=”password” size=”10″ maxlength=”10″ /> Demo And the result, is a field in which the text is hidden under asterisks, …
HTML – Text Fields Text fields are encountered as forms. Those are processed with the help of a programming language, most of the times ASP, PERL or PHP. Additional attributes that are used for formatting the text fields are: size – to set the field size value – to set a predefined value maxlength – to set …
HTML – Input tag The input tag does not need an ending tag and can have numerous attributes: text password radio checkbox reset submit HTML – Text fields and passwords I am really sure that you have certainly hear a lot of, over the time, on the Internet. HTML<input type=”text” /><br /> <input …
HTML – Strikethrough The strikethrough text can be produced using the <del> tag. HTML Code: <p>This text is <del>cut</del>by a line !</p> Demo This text is cutby a line ! Striketrough – Applications This tag does not have to many applications, but we will try to exemplify its use by the following example: a shopping list …