HTML Elements with Mixed Contents

Q

What Are the HTML Elements Defined with Mixed Contents?

✍: FYIcenter.com

A

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

  • <p> - Element to insert a paragraph.
  • <pre> - Element to insert a pre-formatted text.
  • <li> - Element to insert an item into a list.
  • <td> - Element to insert a cell into a table.
  • <h1> - Element to insert a first level heading.
  • <a> - Element to insert an anchor.
  • <div> - Element to insert a block container.
  • <span> - Element to insert an inline container.

Remember that mixed content elements can have text strings and sub-elements in their contents.

 

What Is PCDATA in HTML Documents?

HTML Elements with Sub-elements Contents

Introduction of HTML Element Content Syntax

⇑⇑ HTML Tutorials

2024-04-14, 1285🔥, 0💬