HTML Element Contents

Q

What Is the XHTML Element Content?

✍: FYIcenter.com

A

The content of an HTML 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>

 

HTML Element Content Models

Introduction of HTML Element Content Syntax

Introduction of HTML Element Content Syntax

⇑⇑ HTML Tutorials

2017-07-30, 1469🔥, 0💬