---
title: IQuestionHtmlStyle
product: PDF Generator
api-type: interface
description: Defines the visual style applied to HTML survey elements in an exported PDF document.
source: https://surveyjs.io/pdf-generator/documentation/api-reference/iquestionhtmlstyle
source: https://surveyjs.io/pdf-generator/documentation/api-reference/iquestionhtmlstyle
---

# `IQuestionHtmlStyle`

Defines the visual style applied to [HTML](https://surveyjs.io/form-library/documentation/api-reference/add-custom-html-to-survey) survey elements in an exported PDF document.

[PDF Appearance Customization - Styles Config](/pdf-generator/documentation/pdf-appearance-customization#styles-config (linkStyle))

Available since: v3.0.0

## Inheritance

[`IQuestionStyle`](https://surveyjs.io/pdf-generator/documentation/api-reference/iquestionstyle.md) &rarr; `IQuestionHtmlStyle`

## Properties

### `text`

**Type**: `ITextStyle`

Specifies the visual style applied to textual content.

Available since: v3.0.0
