XhtmlMobileDocType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the type of XHTML for the XhtmlTextWriter class to render to the page or control.
public enum class XhtmlMobileDocType
public enum XhtmlMobileDocType
type XhtmlMobileDocType =
Public Enum XhtmlMobileDocType
- Inheritance
Fields
Wml20 | 2 | Specifies the WML 2.0 format. |
XhtmlBasic | 0 | Specifies the XHTML Basic format. This format does not support frames and styles. |
XhtmlMobileProfile | 1 | Specifies the XHTML Mobile Profile format. |
Remarks
When you specify one of the XhtmlMobileDocType enumeration values as the parameter in a XhtmlTextWriter.SetDocType method call, that value forces the text writer to adhere to the restrictions of that XHTML document type.
XHTML Basic is the mobile version of XHTML 1.0 and supports the minimum number of XHTML modules to be an XHTML document. It is designed for clients that do not support the full set of XHTML features, such as mobile phones, personal digital assistants (PDAs), pagers, and set-top boxes. With XHTML Basic, a document can be presented on the maximum number of clients, including a wide range of mobile phones with different display formats and presentation capabilities.
XHTML Mobile Profile adds to XHTML Basic several additional elements and attributes from the full XHTML 1.0, including additional presentation elements and support for internal style sheets.
WML 2.0 expands on both XHTML Basic and XHTML Mobile Profile by providing support for cascading style sheets.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback을 참조하세요.
출시 예정: 2024년 내내 콘텐츠 피드백 메커니즘인 GitHub 문제를 단계적으로 폐지하고 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은다음에 대한 사용자 의견 제출 및 보기