---
sidebar_position: 1
---
# Html
## Basic Usage
Farm support compile Html out of box, **and you should use Html as entry when build a web project**, for example:
```ts title="farm.config.ts"
import type { defineConfig } from "@farmfe/core";
export default defineConfig({
input: {
index: "./index.html", // using ./index.html as entry
},
});
```
:::note
If the input is not specified, default to `{ index: 'index.html' }`.
:::
and in `./index.html`, a `