Class PublicDocumentType
  
  
  
  
    Inheritance
    System.Object
    PublicDocumentType
   
  
  Assembly: EPiServer.Framework.dll
  Version: 12.0.3
  Syntax
  
    public sealed class PublicDocumentType : Enum
   
  Fields
  
  
  
  Html
  A DOCTYPE directive with name HTML and PUBLIC which does not match anything below.
Declaration
  
    public const PublicDocumentType Html
   
  Field Value
  
  
  
  Html4
  HTML 4 DOCTYPE detected (<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
or something that starts with <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4... )
Declaration
  
    public const PublicDocumentType Html4
   
  Field Value
  
  
  
  Html5
  HTML 5 DOCTYPE detected (<!DOCTYPE html>)
Declaration
  
    public const PublicDocumentType Html5
   
  Field Value
  
  
  
  Unknown
  A DOCTYPE directive with name that is not HTML.
Declaration
  
    public const PublicDocumentType Unknown
   
  Field Value
  
  
  
  value__
  
  
  Declaration
  
  Field Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Int32 |  | 
    
  
  
  
  Xhtml10Frameset
  XHTML 1.0 Frameset DOCTYPE detected (<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">)
Declaration
  
    public const PublicDocumentType Xhtml10Frameset
   
  Field Value
  
  
  
  Xhtml10Strict
  XHTML 1.0 Strict DOCTYPE detected (<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">)
Declaration
  
    public const PublicDocumentType Xhtml10Strict
   
  Field Value
  
  
  
  Xhtml10Transitional
  XHTML 1.0 Transitional DOCTYPE detected (<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">).
This value is also returned for any XHTML-like DOCTYPE that does not match any of the other DOCTYPES, i e it acts as an XHTML DOCTYPE fallback.
Declaration
  
    public const PublicDocumentType Xhtml10Transitional
   
  Field Value
  
  
  
  Xhtml11
  XHTML 1.1 DOCTYPE detected (<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">)
Declaration
  
    public const PublicDocumentType Xhtml11
   
  Field Value
  
  Extension Methods