More in this section
Forums / Developing with Sitefinity / adding DOCTYPE to page

adding DOCTYPE to page

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
3 posts, 0 answered
  1. mark
    mark avatar
    2 posts
    30 Sep 2007
    07 Nov 2007
    Link to this post
    I'm using some javascript within a page (sarissa)
    to make this work i need to have this 

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">

    <html xmlns="">

    How do i add the strict doctype etc to the page ?

  2. Gabe Sumner
    Gabe Sumner avatar
    440 posts
    09 Sep 2007
    07 Nov 2007
    Link to this post

    Hey Mark,

    Is this something that could be changed in your master templates?  (App_Master folder)

    Take care,



  3. Pepi
    Pepi avatar
    981 posts
    31 Jan 2017
    08 Nov 2007
    Link to this post
    Hello Mark,

    The !DOCTYPE declaration should be at the beginning of your master pages, before the html tag.The element does not require a closing tag. It specifies the Document Type Definition (DTD) to which the document conforms and as you have already mentioned is used to to switch into strict standards-compliant mode.

    You could also look at the following thread for more information.

    Hope this helps.

    Best wishes,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
3 posts, 0 answered