Advance XHTML Programming Question:

How To Enter Element Content?

Tweet Share WhatsApp

Answer:

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 globalguideline.com/html</h1>

Download XHTML PDF Read All 26 XHTML Questions
Previous QuestionNext Question
What Is Wrong with My <meta> Tags?Is XHTML Element Name Case Sensitive?