London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Enum PublicDocumentType

Namespace: EPiServer.HtmlParsing
Assembly: EPiServer.Framework.dll
Version: 10.10.4
Syntax
public enum PublicDocumentType

Fields

Name Description
Html

A DOCTYPE directive with name HTML and PUBLIC which does not match anything below.

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... )

Html5

HTML 5 DOCTYPE detected (<!DOCTYPE html>)

Unknown

A DOCTYPE directive with name that is not HTML.

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">)

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">)

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.

Xhtml11

XHTML 1.1 DOCTYPE detected (<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">)

Extension Methods