I wrote the following <img> tag and css code:
#image1 
{
        background-image: url("../images/home-page/image1.jpg");
        background-size: 100% 100%;
        position: absolute;
}<img id="image1" alt="image1" />On my web page image and alt attribute text both get displayed. If image is present then I don't want to display the alt text. Don't know what the problem is. Anyone knows how to solve it? And what is the problem?
 
     
     
     
     
    