Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Why does DNN has no HTML version document type specified?Why does DNN has no HTML version document type specified?
Previous
 
Next
New Post
12/18/2008 6:10 PM
 

I do not see a HTML version in DNN. Might this de cause that DNN websites are extremely worser indexed than java and php websites? Also lang token has additional space in it.

7.2 HTML version information

A valid HTML document declares what version of HTML is used in the document. The document type declaration names the document type definition (DTD) in use for the document (see [ISO8879]).

HTML 4.01 specifies three DTDs, so authors must include one of the following document type declarations in their documents. The DTDs vary in the elements they support.

  • The HTML 4.01 Strict DTD includes all elements and attributes that have not been deprecated or do not appear in frameset documents. For documents that use this DTD, use this document type declaration:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
            "http://www.w3.org/TR/html4/strict.dtd">
    
  • The HTML 4.01 Transitional DTD includes everything in the strict DTD plus deprecated elements and attributes (most of which concern visual presentation). For documents that use this DTD, use this document type declaration:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
            "http://www.w3.org/TR/html4/loose.dtd">
    
  • The HTML 4.01 Frameset DTD includes everything in the transitional DTD plus frames as well. For documents that use this DTD, use this document type declaration:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
            "http://www.w3.org/TR/html4/frameset.dtd">
 
New Post
12/19/2008 8:50 AM
 
 
New Post
12/19/2008 12:23 PM
 

The doc type can be added easily, I am guessing that it is not there by default in the default skin to ensure that items do not break.  Third party skins are responsible for setting the doctype, so that the proper standard is set.

As for your comment about DNN sites not getting indexed, I am not aware of any issues with that.  All of my sites have very good Search engine placement.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
12/22/2008 8:28 AM
 

Thank you Jeff and Mitch,

I new a doctype could be set. Nevertheless, I have read all links and I conclude that you also need to implement the code change by Snapsis to avoid you are not loading an xml file on every page request. However, what doctype to choose?

  1. In other words: which doctype is the best for most browsers and most search bots ? It should be one with closing tags according to SEO specialists and most likely Firefox and IE 7 are most used.
  2. But what about the legacy of DNN? To what level of html doc version is it compatible? I read something about > 200 compilation errors ?

If bullet 2. is an issue having you change all core modules. I think it is an useless feature to define a doctype ?

Any help appreciated,

J.

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Why does DNN has no HTML version document type specified?Why does DNN has no HTML version document type specified?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out