> For the complete documentation index, see [llms.txt](https://htms-docs.fsh.plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://htms-docs.fsh.plus/main/htms-files.md).

# HTMS Files

HTMS Files are a file format that contains samples

These files can have any extension but we recommend one of the following:

* .htms
* .html
* .xml

### Sample syntax:

```html
<sample name="Sample">
  HTML Content
</sample>
```

Sample name should be treated as an id, and having multiple with the same name may cause issues

### Static vars

To add [static vars](/concepts/static-vars.md) in the html content include

${VarName}

```html
<sample name="Greeting">
  Hello, ${name}
</sample>
```
