**Inheritance:**
java.lang.Object, java.lang.Enum < HtmlDocumentType > com.aspose.pdf.HtmlDocumentType, java.lang.Enum < HtmlDocumentType >, com.aspose.pdf.HtmlDocumentType

**All Implemented Interfaces:**
Serializable, Comparable < HtmlDocumentType >

```
public enum HtmlDocumentType extends Enum < HtmlDocumentType >
```

Represents enumeration of the Html document types.

## Fields

| Field | Description |
| --- | --- |
| [Html5](#Html5) | The HTML5 Document Type. |
| [Xhtml](#Xhtml) | The XHtml Document Type. |

## Methods

| Method | Description |
| --- | --- |
| [getByValue](#getByValue-int-) |  |
| [getValue](#getValue--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### Html5 {#Html5}
```
public static final HtmlDocumentType Html5
```

The HTML5 Document Type.

### Xhtml {#Xhtml}
```
public static final HtmlDocumentType Xhtml
```

The XHtml Document Type.

### getByValue {#getByValue-int-}
```
public static HtmlDocumentType getByValue(int value)
```



**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  |  |

### getValue {#getValue--}
```
public int getValue()
```



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#values--}
```
public static HtmlDocumentType [] values()
```

Returns an array containing the constants of this enum type, in the order they are declared.

**Returns:**
an array containing the constants of this enum type, in the order they are declared
