Answers for "text with background color"

26

css background color

body {
  background-color: green;
}
Posted by: Guest on February-03-2020
2

make text blue html

<p style="color:blue;">This paragraph is blue.</p>
Posted by: Guest on September-29-2020
1

text background color css

body {
	background-color:rgb(130, 50, 29);
}
Posted by: Guest on October-20-2020
0

fill color behid text in html

Option 1
display: table;

no parent required
h1 {
    display: table; /* keep the background color wrapped tight */
    margin: 0px auto 0px auto; /* keep the table centered */
    padding:5px;font-size:20px;background-color:green;color:#ffffff;
}
<h1>The Last Will and Testament of Eric Jones</h1>
Posted by: Guest on October-23-2020

Code answers related to "text with background color"

Browse Popular Code Answers by Language