> ## Documentation Index
> Fetch the complete documentation index at: https://docs.baenninger.me/llms.txt
> Use this file to discover all available pages before exploring further.

# Einbindung in HTML

Wir binden eine JavaScript-Datei in eine HTML-Datei ein. Dort verlinken wir sie im `<head>`-Tag mit dem `<script>`-Tag:

```html theme={null}
<script src="script.js"></script>
```

Das `src`-Attribut teilt der HTML-Datei mit, wo sich die JS-Datei befindet, wir verlinken also einen Pfad, entweder relativ oder absolut.
