SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 258 | Next

Jonathan Snook, Aaron Gustafson, Stuart Langridge, and Dan Webb

"Accelerated DOM Scripting with Ajax, APIs, and Libraries"

The HTML is the foundation
of your UI in any web application, so careful and semantic use of HTML and considered
use of IDs and classes will really help you when it comes to DOM scripting.
CHAPTER 9 n A DYNAMIC HELP SYSTEM 191
Really think about whether you??™re using the correct elements for the content in hand and
be careful not to fall into the trap of ???divitis??? (wrapping everything in
elements and
bloating out your HTML). A nice, clean, and meaningful markup means that, in many cases,
browsers can do much of your work for you. Use tags to link to content,