Skip to main content

Die Hierarchie der HTML-Elemente

  • Chapter
  • First Online:
Objektorientierte Programmierung mit JavaScript
  • 9757 Accesses

Zusammenfassung

Wie bereits in Kapitel 5 erwähnt, müssen die Tags eines HTML-Dokuments immer sauber geschachtelt sein. Davon betroffen sind natürlich nur Tags, die anders als zum Beispiel <img>, <meta> und <br> eines End-Tags bedürfen: Bei einem solchen Tag-Paar wie zum Beispiel <a></a> darf es nie vorkommen, dass nur ein einzelnes Tag des Tag-Paares im inneren Bereich eines anderen Tag-Paares vorkommt. Mit anderen Worten: Es gilt das Last-In-First-Out-Prinzip (LIFO), das wir bereits beim Stack kennen gelernt haben.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

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

© 2014 Springer Fachmedien Wiesbaden

About this chapter

Cite this chapter

Bewersdorff, J. (2014). Die Hierarchie der HTML-Elemente. In: Objektorientierte Programmierung mit JavaScript. Springer Vieweg, Wiesbaden. https://doi.org/10.1007/978-3-658-05444-1_27

Download citation

Publish with us

Policies and ethics