# DataProcessorHtmlWriter

interface

The HTML writer interface.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/dataprocessor/htmlwriter.ts#L13)

<a id="methods">

## Methods

<a id="function-getHtml">

### `getHtml( fragment ) → string`

Returns an HTML string created from a document fragment.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/dataprocessor/htmlwriter.ts#L18)

#### Parameters

* `fragment: DocumentFragment`

#### Returns

* `string`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
