The <svelte:head> element allows you to insert elements inside the <head> of your document:

<svelte:head>
	<link rel="stylesheet" href="tutorial/dark-theme.css">
</svelte:head>

In server-side rendering (SSR) mode, contents of <svelte:head> are returned separately from the rest of your HTML.



			
loading editor...
loading Svelte compiler...


			
loading editor...

Compiler options

result = svelte.compile(source, {
generate:
});


			
loading editor...