All posts tagged ‘HTML’

File Under: Glossary

DHTML

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.

One of the powerful abilities of dHTML is to pass JavaScript through a browser as part of a form. For example, when a user checks a box within an HTML form, that click of the mouse can be the action that launches a new window to give or receive further data.

File Under: Glossary

Action

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:

<form action="../processor.cgi">

Please process this:

    <input name=food><br>



    <input type=submit>

</form>

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

File Under: HTML

Make a Mailto Link

To create a link that sends an e-mail to somebody, use the HTML mailto: tag.

Your code will look like this:

<a href="mailto:webmonkey@wired.com>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 webmonkey@wired.com (or whatever address you put in the link) will open up.

Continue Reading “Make a Mailto Link” »
File Under: Glossary

Behavior

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.

File Under: Glossary

Operator


An expression tells JavaScript what to do with the data it gets, and within each expression are operators and operands. Operands are the data or data types the expression gets, and operators are the shorthand characters that tell the expression what to do with the operand. JavaScript has arithmetic (+,-,*,/), assignment (=), bitwise (&, |), comparison (>, <,), logical (&, ||, !), special (., []), and string (+) operators. Operators are a feature of many programming and scripting languages. At first there were a relatively limited menu of operators to use in JavaScript, but version 1.2 allowed for the support of regular expressions and a group of operators large enough to compare to other scripting languages.