What’s the difference between a block-level element and an inline element in html?

Every element in HTML is displayed in one of a few ways. By default, most tags are either displayed as block-level or inline. BlockA block-level element is drawn as a block that stretches to fill the full width available to it (the width of its container) and will always start on a new line. Example tags include <div>, <img>InlineUnlike the block-level elements, inline elements are drawn where they are defined and only take up space that is absolutely needed. Example tags include <span>, <b>

KN
Answered by Kelvin N. HTML and CSS tutor

2545 Views

See similar HTML and CSS Mentoring tutors

Related HTML and CSS Mentoring answers

All answers ▸

Explain what an external style sheet (CSS document) is for in a HTML document and write a line of HTML code to import one


Simplify the brackets, (x+1)(x+2)


How to create a secure password?


How can I centre-align an item horizontally within another element?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning