A great feature of JavaScript is that it lets you set and retrieve browser cookies. In this tutorial I’ll show you how this is done, along with a simple example that remembers your name and displays it on every page.
Web Development
Client and server-side programming. Covers JavaScript, PHP, Perl and ASP.
See also:Creating Image Maps
This article shows how to create image maps using HTML. You’ll learn how to create client-side image maps, and we’ll touch on server-side image maps too.
[Read more…] about Creating Image Maps
Controlling Program Flow in JavaScript
One of the key features of all good programming languages is the ability to control the order in which actions are performed. For instance, you may want to run one piece of code if the user has selected a checkbox, but run a different piece of code if they haven’t selected it. Or, you may want to run the same piece of code 10 times (for example, if you’re creating a drop-down list with 10 items).
In this tutorial you’ll learn how to write code to make decisions (e.g. “if the user has selected this checkbox, display this message”), and perform the same action many times (called “looping”).
10 HTML Tips for Beginners
Here are 10 HTML tips and tricks for newbies. If you’re just starting out with building your Web pages, these techniques should be very useful to you!
JavaScript Events and Event Handlers
In this tutorial we’re going to take a look at a very handy feature of JavaScript called events. By writing code that reacts to events, you can make your web pages much more interactive!
Read on to find out how…
HTML Form Buttons
As well as fields such as text fields, checkboxes and select
menus, an HTML form can contain different types of buttons. Form buttons allow the user to submit the filled-in form to the server for processing. Your form will generally contain at least one form submit button so that the form can be sent.
HTML Forms – Hidden, Password and File Upload Fields
This tutorial explores three special types of HTML form input fields:
- hidden fields, for passing information without displaying it to the visitor
- password fields that allow the visitor to enter sensitive information, and
- file upload fields that allow visitors to upload files from their hard disk to your Web server.
[Read more…] about HTML Forms – Hidden, Password and File Upload Fields
HTML Checkboxes, Radio Buttons and Select Form Fields
This tutorial takes a look at three HTML form fields that allow your visitors to choose from a list of options: checkboxes, radio buttons, and select
menus.
[Read more…] about HTML Checkboxes, Radio Buttons and Select Form Fields
HTML Text and Textarea Form Fields
In this tutorial you explore two HTML form fields that allow visitors to enter text: text fields, suitable for short, single-line text, and textarea fields, which are suited to longer paragraphs of text.
HTML Forms
This series of tutorials shows how to create HTML forms in your Web pages. Forms allow you to make your site interactive — your visitors can use the forms on your site for giving you feedback via email, navigating your site, posting messages and other content to your site, voting and polling, and almost anything else you can dream of!
In this tutorial, you start by looking at the HTML form
element, the basic building block of Web forms. You then learn how to use disabled and read-only controls to enhance your forms. Finally, you’ll look briefly at ways to process the results of your forms after they’ve been submitted.
The remaining tutorials in the series look at 8 different types of form fields that you can place in an HTML form, including text fields, checkboxes, radio buttons, menus, text areas, hidden fields, password fields and file upload fields. You’ll also learn how to create submit, image and reset buttons, and how to create generic form buttons. Buttons are needed to “activate” your Web form — for example, to enable the user to send the form after they’ve filled it in.