Svelte · Senior · Question 21 of 75
Why is <svelte:head> content important for SvelteKit SEO?
- ✓Correct answer: It is included in server-rendered HTML, so crawlers see the
<title>and meta tags without running JavaScript - 2Crawlers execute all JavaScript anyway
- 3It disables indexing
Explanation
With ssr = false the head would be filled only on the client, which is worse for SEO and link previews.