What is the difference between a block-level element and an inline element?

AnswerBot
7mo
Block-level elements start on a new line and take up the full width available, while inline elements do not start on a new line and only take up as much width as necessary.
Block-level elements: <div>,...read more
Anonymous
author
2y
Block elements occupy entire width of a browser,
inline elements occupy only inner content width.
Help your peers!
Add answer anonymously...
Gracetech Services Software Trainee interview questions & answers
A Software Trainee was asked Q. What are the data types in Javascript?
A Software Trainee was asked Q. What are the differences between VAR, LET, and CONST?
A Software Trainee was asked Q. Tell me about the HTML doctype.
Popular interview questions of Software Trainee
A Software Trainee was asked Q1. What are the data types in Javascript?
A Software Trainee was asked Q2. What are the differences between VAR, LET, and CONST?
A Software Trainee was asked Q3. Tell me about the HTML doctype.
>
Gracetech Services Software Trainee Interview Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

