# No Head Element > Prevent usage of `` element. ### Why This Error Occurred A `` element was used to include page-level metadata, but this can cause unexpected behavior in a Next.js application. Use Next.js' built-in `next/head` component instead. ### Possible Ways to Fix It Import and use the `` component: ```jsx import Head from 'next/head' function Index() { return ( <> My page title ) } export default Index ``` ### Useful Links - [next/head](https://nextjs.org/docs/api-reference/next/head)