+ 1
<div style="background-color:red"; color="white"; padding="20px";> ABCDEFGH</div>. WHAT IS WRONG IN THIS CODE
3 Answers
+ 1
You closed the style string prematurely, color and padding value were assigned using "=" instead of "=".
<div style="background-color:red;color:white;padding:20px;"> ABCDEFGH</div>
+ 1
thanks for your help.
+ 1
You're welcome : )