Margin of an element inside a div [closed]

-1

I am not able to assign a margin-top to the element to id="cat" that is within a div . How could I assign this margin?

    Test

<style>

    a#cat{
        text-decoration: none;
        color: black;
        margin-top: 5px
    }
    
asked by anonymous 05.12.2018 / 18:09

1 answer

0

add this display: block;

    
05.12.2018 / 18:18