Dynamic HTML (dHTML) is a markup language designed to heighten the interactive browsing experience.
Because dHTML can utilize each action of the user (a mouseclick, a rollover, a keystroke), it provides a rich and transparent way to process this data.
Action is a Form attribute that communicates with the common gateway interface (CGI) program to process.
For example, if you entered “bananas” to the following form:
Please process this:
The HTML form would send the input “bananas” to the cgi script. To the cgi script, the action would look like: ../processor.cgi?food=bananas
To create a link that sends an e-mail to somebody, use the HTML mailto:
Your code will look like this:
<a href="mailto:firstname.lastname@example.org>Send an e-mail to Webmonkey</a>
and tell us how much you love cats.
When the reader clicks on that link, their default e-mail application will launch and a blank e-mail addressed to email@example.com (or whatever address you put in the link) will open up.
Continue Reading “Make a Mailto Link” »
Setting a dHTML element’s behavior attribute allows you to customize the element.
Microsoft implemented the behavior attribute of Cascading Style Sheets in a way that enabled object-oriented programming to enter the world of web authoring. By encapsulating dHTML in an external object, the properties and methods of that object can be used. A web page can then use these objects with the behavior attribute. This means, for example, that a web author no longer had to perform an explicit browser detection.