# HTML

An HTML asset contains HTML code. The code can either be a full HTML page or just partial HTML. You can create a new HTML asset in the Editor or by uploading a file with an `.html` extension.

To edit an HTML asset, right click on it in the Editor and select Edit.

## Inspector

[Image: HTML Asset Inspector]

The HTML asset inspector displays a preview of the HTML code contained in the asset.

## Properties

This asset type has no configurable properties in the Inspector. It displays a read-only preview of the HTML code.

:::tip
To use this asset in scripts, see [Asset Attributes](https://developer.playcanvas.com/user-manual/scripting/script-attributes/esm.md#asset-attribute).
:::
