How do I make a return button to the home menu? Use html and css

0
<!DOCTYPE html>
<html>
<head>
    <title>JdBEdit - Demo</title>
    <meta content="IE=edge" http-equiv="X-UA-Compatible"/>
    <meta content="width=device-width, initial-scale=1" name="viewport"/>
</head>
<body id="bg">
    <div id="elem1">
        <button class="start href"> START </button>

        <a href="https://m.youtube.com/user/jadson8255">
            <button id="b1">

20 Buscar
            </button>
        </a>

        <a href="https://m.youtube.com/channel/UCLRW29kscCnup6lYpLp-mDw">
            <button id="b2">
            MALUCO BR2
            </button>
        </a>

        <a href="https://m.youtube.com/channel/UChjOkhXUsQExsAG5hffIuJw">
            <button id="b3">
            MALUCO BR3
            </button>
        </a>
    </div>
    <div id="elem2" style="display: none;">
        <button id="bcen">10000</button>
    </div>
</body>
</html>
    
asked by anonymous 05.08.2018 / 20:22

1 answer

0

I used a background and padding link to create a start button and put / to indicate the start url

.inicio {
    padding: 15px;
    background-color:#232323;
    color: #fff;
    text-decoration:none;
}
<a class="inicio" href="/">INICIO</a>

You can also add css directly to the element by adding style="" , like this:

<a style="padding:15px;background-color:#232323;color:#fff;text-decoration:none;" class="inicio" href="/">INICIO</a>
    
05.08.2018 / 20:29