What is the difference between a Block-level element & inline element?
A block-level element always starts on a new line and takes up the full width available.
An inline element does not start on a new line and it only takes up as much width as necessary
Full Stack Web Development: https://www.youtube.com/playlist?list=PLTy86WdwsETnPua41fT1zonTyc-wXYtqX
#webdevelopment #html #programminginhindi #code
A block-level element always starts on a new line and takes up the full width available.
An inline element does not start on a new line and it only takes up as much width as necessary
Full Stack Web Development: https://www.youtube.com/playlist?list=PLTy86WdwsETnPua41fT1zonTyc-wXYtqX
#webdevelopment #html #programminginhindi #code
- Category
- Web design
Be the first to comment