Sequence of Sub-elements in HTML

Q

What Is the Sequence of Sub-elements?

✍: FYIcenter.com

A

The sequence of sub-elements is the order of how each sub-element is placed inside the parent element. For most parent elements, their sub-elements can be placed in any order. But some parent elements require you to follow a predefined sequence.

For example, element "html" requires that "head" to be placed first, and "body" to be placed second.

 

Introduction of HTML Element Content Syntax

⇒⇒HTML Tutorials

2017-02-20, 164👍, 0💬