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 Answer
+ 3
No, div's are containers, they could be used for applying different layouts on the page, as well as different styles.