0
Is <div> in HTML using only for background and the colour of the text?
Example <div style=“background-colour: green; colour: white; padding:20px;”> <p>some txt </p> </div>
1 Resposta
+ 3
No, div's are containers, they could be used for applying different layouts on the page, as well as different styles.