What Is the XHTML Element Content

Q

What Is the XHTML Element Content? - XHTML Tutorials - Introduction To Element Content Syntax

✍: FYIcenter.com

A

The content of an XHTML element is everything you entered between the opening tag and the closing tag of the element.

Here are some good examples of XHTML element contents:

  <!-- An empty table cell -->
  <td></td>

  <!-- "title" content: A simple text string -->
  <title>My First XHTML Document</title>

  <!-- "head" content: Another XHTML element -->
  <head>
   <title>My First XHTML Document</title>
  </head>

  <!-- "p" content: Text and another element -->
  <p>The nature of <em>yin and yang</em> is relative.</p>

2007-05-12, 4630👍, 0💬