---
title: "Enum HtmlDocumentType"
url: "https://reference.aspose.com/pdf/net/aspose.pdf/htmldocumenttype/"
product: "Aspose.PDF for .NET API Reference"
description: "Aspose.Pdf.HtmlDocumentType enum. Represents enumeration of the Html document types"
---

## HtmlDocumentType enumeration

Represents enumeration of the Html document types.

```csharp
public enum HtmlDocumentType
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| Xhtml | `0` | The XHtml Document Type. |
| Html5 | `1` | The HTML5 Document Type. |

### See Also

* namespace [Aspose.Pdf](../../aspose.pdf/)
* assembly [Aspose.PDF](../../)


