Css (Display property)

syntax :- 

        display : inline / block/ inline-block/none



1. inline : takes only the space required by the element.( no margin/ padding)
2.block : takes full space available in width.
3. inline-block  - Similar to inline but we can set margin & padding.
4. None : to remove element from document flow. 


what is are block element.and eg also?
ans- it occupied all the space ,eg - div,head ,etc.

what are inline element / tag and eg?
ans_ it occupied only requied space ... eg  - span, input,a, button,etc

AVI.PARADOX..

Welcome to my blog! My name is PARADOX, and I’m thrilled to have you here., From the first “Hello, World!”.As a passionate coder, I find joy in the logic and structure of coding., This blog is more than just a collection of articles. It’s a community for those who love to gain knowledge as much as I do., So whether you’re here to learn something new, share your own knowledge, or just to be part of the community, I’m glad you’re here.

Post a Comment

Previous Post Next Post

Contact Form