Magento CMS Pages CSS Xhtml

Avoid use of tags like <div class="page-title"> inside the CMS template... if you think about a client editing this content with no HTML knowledge they will run into issues and not be able to edit properly, CMS pages should only consist of the very basic tags

<h2,3,4>s, <p>'s etc
<h4>LAZY OAF</h4>
<h1>TERMS &amp;CONDITIONS</h1>
<h3>HELLO &amp; WELCOME</h3>
this stuff can be rendered in the phtml file instead of in the CMS content in Magento backend

Example of incorrect coding:

http://go.juno.is/677dee.png

Example of correct coding:

http://go.juno.is/b77157.png
Comments