What Is a Sub-element in HTML?


What Is a Sub-element in HTML?

✍: FYIcenter.com


A sub-element is an HTML element that is included inside the content of another HTML element. The inner element is called the sub-element or child element. The outer element is called the parent element. Together they are called nested elements.

Note that which element is allowed to be included inside another element is defined by the XHTML specification. For example, element "p" is allowed inside "body", but it is not allowed inside "head".


Introduction of HTML Element Content Syntax

⇒⇒HTML Tutorials

2017-02-20, 160👍, 0💬