Please explain div, span and padding tags | Sololearn: Learn to code for FREE!

+31

Please explain div, span and padding tags

6/2/2020 2:45:20 AM

Anshika (Left)

7 Answers

New Answer

+13

Thank you but can you please elaborate the meaning and use of span

+5

Anshika https://www.sololearn.com/Discuss/848878/?ref=app https://www.sololearn.com/Discuss/170617/?ref=app https://www.sololearn.com/Discuss/631319/?ref=app

+3

Anshika Kindly prefer our searchbar before putting any new question on QnA forum https://www.sololearn.com/Discuss/759632/?ref=app https://www.sololearn.com/Discuss/1657548/?ref=app https://www.sololearn.com/Discuss/23251/?ref=app https://www.sololearn.com/Discuss/1932024/?ref=app https://www.sololearn.com/Discuss/69639/?ref=app https://www.sololearn.com/Discuss/62252/?ref=app https://www.sololearn.com/Discuss/2069774/?ref=app https://www.sololearn.com/Discuss/2082581/?ref=app https://www.sololearn.com/Discuss/2103627/?ref=app https://www.sololearn.com/Discuss/2239009/?ref=app https://www.sololearn.com/Discuss/2234267/?ref=app https://www.sololearn.com/Discuss/1792801/?ref=app https://www.sololearn.com/Discuss/2047592/?ref=app https://www.sololearn.com/Discuss/1442504/?ref=app https://www.sololearn.com/Discuss/848893/?ref=app https://www.sololearn.com/Discuss/199642/?ref=app https://www.sololearn.com/Discuss/1771991/?ref=app https://www.sololearn.com/Discuss/1036256/?ref=app

+3

Padding is used for spacing of text,box,container of div and div, span are containers

0

Div is a block container, span is an inline container, and padding is the space inside an element. Hope it was helpful πŸ₯ΊπŸ˜Š

0

Google may help you a lot