Skip to main content

Wie man die HTML-Struktur verändert

  • Chapter
  • First Online:
  • 24k Accesses

Zusammenfassung

Im Beispielprogramm js/26 des vorletzten Kapitels wurden neue HTML-Elemente wie beispielsweise die drei Hyperlinks durch Änderung der innerHTML-Eigenschaft des übergeordneten HTML-Elements erzeugt. Diese Technik, bei welcher der Attributwert der Eigenschaft innerHTML ausgehend vom ursprünglichen Wert um HTML-Tags ergänzt wird, kann im Extremfall sogar dazu verwendet werden, den gesamten Textkörper eines HTML-Dokuments auszutauschen.

This is a preview of subscription content, log in via an institution.

Buying options

eBook
USD   19.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   29.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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jörg Bewersdorff .

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Fachmedien Wiesbaden GmbH

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Bewersdorff, J. (2018). Wie man die HTML-Struktur verändert. In: Objektorientierte Programmierung mit JavaScript. Springer Vieweg, Wiesbaden. https://doi.org/10.1007/978-3-658-21077-9_28

Download citation

Publish with us

Policies and ethics