--- description: | By adding inner components to Fresh's head element, we add inner components to the HTML head element of the web page. --- We can use the `` component in `$fresh/runtime.ts` to modify the `` element. By adding inner components to ``, we add inner components to the `` element of the web page. Some uses include: - Setting the document title using `` - Specifying page metadata using `<meta>` - Linking to external resources using `<link>` - Including JavaScript code using `<script>` ```tsx // routes/index.tsx import { Head } from "$fresh/runtime.ts"; import Counter from "../islands/Counter.tsx"; export default function Home() { return ( <> <Head> <meta charset="UTF-8" /> <title>Fresh App

Hello World

); } ```