Personal tools
Home Webmaster Resources HTML XHTML XHTML 1.1 Conformance

XHTML 1.1 Conformance

Conforming to the XHTML 1.1 specification can be a difficult task if you are well practiced in traditional HTML. Here are a few pieces of knowledge that you may find helpful.

Embedded Flash Files

Most HTML code used for displaying flash, even code which is automatically generated by graphical HTML editors such as Dreamweaver, is not XTHML 1.1 Compliant. After some research, I came up with the following chunk of code which works well in IE and Netscape based browsers:

<object type="application/x-shockwave-flash" width="100" height="100" data="movie.swf">
  <param name="movie" value="movie.swf" />
</object>

You will also find this code to be far more concise than most editor generated code.

Tables

You don't have as much freedom with your table related tags when complying to the XHTML standard.  The table, thead, tr, th, td, and tfoot elements must be organized as in the following example:

<table>
<thead>
    <tr>
        <th></th>
        <th></th>
    </tr>
</thead>
<tbody>
    <tr>
        <td></td>
        <td></td>
        ...
    </tr>
    ...
</tbody>
</table>

Need assistance with your project? Universal Web Services can help.
Contact us to request a quote.