Abstract
An HTML document is a specialized XML document and, like all XML documents, is comprised of a hierarchy of node elements. Each node can have a parent node and zero or more child nodes. In previous chapters, you created these nodes through some type of HTML editor or possibly a simple text editor. In this chapter, I will show you how you can read and manipulate these nodes through JavaScript.
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
© 2017 Mark J. Collins
About this chapter
Cite this chapter
Collins, M.J. (2017). DOM Elements. In: Pro HTML5 with CSS, JavaScript, and Multimedia. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2463-2_18
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2463-2_18
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2462-5
Online ISBN: 978-1-4842-2463-2
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books