Abstract
In this chapter, you finally get your hands dirty in real JavaScript code. You’ll learn how JavaScript interacts with the page structure—defined in HTML—and how to receive data and give back information to your visitors. I start with an explanation of what an HTML document is and how it is structured, and then I explain several ways to create page content via JavaScript. You’ll then hear about the JavaScript developer’s Swiss Army knife—the Document Object Model (DOM)—and how to separate JavaScript and HTML to create now-seamless effects that developers used to create in an obtrusive manner with DHTML.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Russ Ferguson
About this chapter
Cite this chapter
Ferguson, R., Heilmann, C. (2013). HTML and JavaScript. In: Beginning JavaScript with DOM Scripting and Ajax. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5093-7_4
Download citation
DOI: https://doi.org/10.1007/978-1-4302-5093-7_4
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-5092-0
Online ISBN: 978-1-4302-5093-7
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books