Skip to main content

DOM Elements

  • Chapter
  • First Online:
  • 7387 Accesses

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics