1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

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

Discussion in 'SiteBuilder' started by KESThai, Nov 5, 2008.

  1. KESThai

    KESThai Guest

    0
     
    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....
     
  2. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    I have passed this request to Parallels Sitebuilder development team. Thanks' for your interest in this case.
     
  3. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    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.
     
  4. MicheleD

    MicheleD Guest

    0
     
Loading...