HTML is the lingua franca of the web. It’s a simple, universal mark-up language that allows web publishers to create complex pages of text and images that can be viewed by anyone else on the web, regardless of what kind of computer or browser is being used.
Despite what you might have heard, you don’t need any special software to create an HTML page; all you need is a word processor (such as SimpleText, BBEdit, or Microsoft Word) and a working knowledge of HTML. And lucky for all of us, basic HTML is dead easy.
It’s All About the Tags
HTML is just a series of tags that are integrated into a text document. They’re a lot like stage directions — silently telling the browser what to do, and what props to use.
Continue Reading “Make an HTML Document” »
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.