Jump to content

Help me please - problem with <details>


KazegamiMei
 Share

Recommended Posts

Please help me!!

no matter what I do <details> doesn't work

code:

<!DOCTYPE html>
<html lang="pt">
    <head>
        <meta charset="utf-8">
        <title>Home</title>
        <link rel="stylesheet" href="home.css">
    </head>
    <body>
        <header>
            <h1>Cooking Everything</h1>
            <img class="capa" src="imagem/Cooking everything.png" alt="capa do blog">
            <nav>
                <details>
                    <summary>Café da Manhã</summary>
                    <ul>
                        <li>Fácil</li>
                        <li>Médio</li>
                        <li>difícil</li>
                    </ul>
                </details>
            </nav>
        </header>
    </body>
</html>

Result:

1567049072_ajudadetails.thumb.png.0d814dea80f3b9130243caf805744f96.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...