PHPSuperBlog.com

Archive for the HTML

HTML form – submit to a new window

We use HTML form a lot for the user to input data and process those data from a PHP file, but with the standard code of a HTML form:

<form method="post" name="bus" action="afile.php">
<input type="text" name="atext" />
<input type="submit" value="submit"/>
</form>

Continue Reading →

HTML form – Password Text Field

In cases like login system, the HTML form should contains a text field for the user to type in the password. But when the user types in the password, other might see the password from behind the user. To avoid from this happening, a password text field is needed. A password text field works when the user type the password into the text field, every character will turn into *. Continue Reading →

HTML form element – Check box

In HTML form, sometimes you might like to let your user to select an option from your pre-made list. This is to avoid them from typing in a value which is not what you want them to input. In this case HTML form element – radio buttons could do the job, but what if in some cases, the user has to select more than one value? Check box is the answer, Here I have created an example to demonstrate the way to create check box: Continue Reading →

Set default text for text field in HTML form

In some websites, you might discover that some text fields already has text written it when the page loads. Text such as “enter your search here” or “input here”. You might wonder how to do it, is it to do with another programing language such as javascript?? The answer is no, HTML can do the do. Continue Reading →

  • Categories

  • Useful Downloads