HTML Elements with PCDATA Contents

Q

What Are the HTML Elements Defined with PCDATA Contents?

✍: FYIcenter.com

A

The following HTML elements are defined to use the PCDATA content model:

  • <title> - Element to provide a title to the document.
  • <style> - Element to provide a CSS to the document.
  • <script> - Element to provide a client side scripts.
  • <option> - Element to provide an option of a selection control.
  • <textarea> - Element to provide a text area control in a form.

Remember that PCDATA content elements can not have any other HTML elements in their contents.

 

HTML Elements with Sub-elements Contents

HTML Elements with EMPTY Contents

Introduction of HTML Element Content Syntax

⇑⇑ HTML Tutorials

2024-04-14, 1305🔥, 0💬