Combining XHTML and MathML using namespaces


   <?xml version="1.0" encoding="UTF-8"?>
   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
             "DTD/xhtml1-strict.dtd">
   <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
      <title>A Math Example</title>
   </head>
   <body>
   <p>The following is MathML markup:</p>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply> 
         <log/>
         <logbase><cn>3</cn></logbase> 
         <ci> x </ci>
      </apply>
      </math>
   </body>
   </html>