Difference between block and inline- block
AnswerBot
1y
Block elements take up the full width available, while inline-block elements only take up as much width as necessary.
Block elements start on a new line and stack vertically
Inline-block elements can sit next to each other and wrap to a new line when necessary
Block elements have a default width of 100%
Inline-block elements have a default width of the content inside them
Examples of block elements include
,-
,
,
- ,
- ,
Help your peers!
Add answer anonymously...
Top Zedex Info Pvt Ltd Front end Developer interview questions & answers
Popular interview questions of Front end Developer
Top HR questions asked in Zedex Info Pvt Ltd Front end Developer
>
Zedex Info Pvt Ltd Front end Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app
Hello, Guest
COMMUNITIES
REVIEWS
Contribute to help millions!
Write a review
Share interview
Contribute salary
Add office photos
Add office benefits