Answers for "how to creat text on background imag in html w3schools"

-2

how to add a background to text in html

.white_bg 
{
    background-color: #ffffff;
    padding: 3px; /*add this if you want a bit of space around the text*/
}

<span class="white_bg">Your text here</span>
Posted by: Guest on March-06-2021

Browse Popular Code Answers by Language