How To Enter Element Content

Q

How To Enter Element Content? - XHTML Tutorials - Introduction To Tag and Attribute Syntax

✍: FYIcenter.com

A

Most of XHML elements allow you to specify contents. But there are some XHTML elements that do not allow any contents. If an XHTML element does allow element content, you need to enter the content between the opening tag and the closing tag.

Here are some good examples of XHTML elements with contents:

  • <title>My First XHTML Document</title>
  • <p>A very long paragraph...</p>
  • <h1>XHTML Tutorials by FYIcenter.com</h1>

2007-05-12, 5657👍, 0💬