Styled button


<!DOCTYPE html>


<html>


  <head>


    <title>styled button</title>


  </head>


  <body>


    <button id=”btn”>BUTTON</button>

<span>This is a styled button</span>


    <style>
      #btn{
        background:blue;
        color:white;
        width:10em;
        height:7em;
        border-radius:20em;
        border:solid;
        border-color:green gold;
        border-width:1em;
      }
    </style>


  </body>


</html>

OUTPUT:

This is the output for the code above.

2 Comments

Leave a reply to Ayi Ariquater Cancel reply