Chapter 12. Working with Scripts and Style Sheets


The Web isn't all about HTML anymore. It hasn't been for years now. Even if you leave out technologies like database connectivity and server-side programming languages like PHP and Cold Fusion, Web builders rely on the interactive power of scripting and the stylistic control of Cascading Style Sheets (CSS) to make their sites more interactive and aesthetic. If you've already tried some of the Toolkits in this book, you know that they use JavaScript and CSS extensively.

GEEKSPEAK

Embedding material such as JavaScript or CSS code means including it in the HTML document. Attaching it means saving it in a separate file and then pointing to the file from the HTML.


With so much additional material going into your Web site, it's a good idea to look at how you get it in there. For JavaScript and CSS, you have two choices: embedding and attaching. Embedding the material means putting it in the same document as the HTML, while attaching it is to create a separate file containing the scripts or CSS code and then point to it in the HTML.



Web Design Garage
Web Design Garage
ISBN: 0131481991
EAN: 2147483647
Year: 2006
Pages: 202
Authors: Marc Campbell

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net