• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

validation............

K

KESThai

Guest
One of the most fundamental points in webpage design is page validation. If a page does not validate 100% to HTML specifications you can be sure of problems re cross-browser compatibility etc.

There are plenty of page validation websites but IMHO the best is:

http://validator.w3.org/#validate_by_uri

Mozilla has a plugin for the above site too.

One of the first things a webpage should do is inform the browser what Document Type Definition (DOCTYPE) the webpage is written in.

A list of valid Document Type Definitions (DOCTYPEs) can be found at http://www.w3.org/QA/2002/04/valid-dtd-list.html.

But surprise...surprise...Parallels SiteBuilder does not on publishing make any reference to Document Type Definition (DOCTYPE) in its pages leaving browsers to try and interpret what the DOCTYPE might be.

A major failing in what could otherwise be a great program...but with no Document Type Definition (DOCTYPE) it becomes just another useless WYSIWYG program only for amateurs and not serious designers....
 
Actually, as I figured out DOCTYPE is supported since 4.5 version. Check it up:

# grep -r -i DOCTYPE /usr/local/sitebuilder/htdocs/templates/
/usr/local/sitebuilder/htdocs/templates/eug-29/template.xsl:<xsl:eek:utput method="html" indent="yes" encoding="utf-8" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
/usr/local/sitebuilder/htdocs/templates/personal-018/template.xsl:<xsl:eek:utput method="html" indent="yes" encoding="utf-8" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
/usr/local/sitebuilder/htdocs/templates/aa-03/template.xsl:<xsl:eek:utput method="html" indent="yes" encoding="utf-8" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
/usr/local/sitebuilder/htdocs/templates/vap-26/template.xsl: <xsl:eek:utput method="html" indent="yes" encoding="utf-8" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
/usr/local/sitebuilder/htdocs/templates/vap-45/template.xsl: <xsl:eek:utput method="html" indent="yes" encoding="utf-8" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
/usr/local/sitebuilder/htdocs/templates/zsk-07/template.xsl:<xsl:eek:utput method="html" indent="yes" encoding="utf-8" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
/usr/local/sitebuilder/htdocs/templates/vap-18/template.xsl: <xsl:eek:utput method="html" indent="yes" encoding="utf-8" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>

You can create your own templates and define DOCTYPE there without any issues.
 
Back
Top