Recipes Revisited
Back in January I discussed the the storage of recipe data using XML. Since then I have been playing with RSS feeds and XHTML and have decided I can use Blogger and RSS Feeds for my recipe storage.
The Website Blog for shupe.ca
Back in January I discussed the the storage of recipe data using XML. Since then I have been playing with RSS feeds and XHTML and have decided I can use Blogger and RSS Feeds for my recipe storage.
For event handlers that do more than just change the presentation of an element, such as change color when the mouse moves over an item, consider the following:
Use... | ...with |
onmousedown | onkeydown |
onmouseup | onkeyup |
onclick | onkeypress |
onmouseover | onfocus |
onmouseout | onblur |
There is no keyboard equivalent to double-clicking ("ondblclick") or mouse movement ("onmousemove") in HTML 4.0. Avoid using these features. |
Event handlers respond to user actions, such as mouse movement, typing, voice input, etc. On web pages, event handlers often just change the presentation of an element, such as by changing the color of an image. Others, however, are parts of the functionality of the page. This functionality needs to be presented in a device-independent way so all users can access it, since not all users use a mouse.
Interesting tidbit I learned today with using pseudo classes. As I'm sure anyone reading this article knows, with pseudo-classes you can style links in different ways in each of the four states.