+ 2
What are the differences between block and incline elements?
5 Antworten
+ 8
The block elements occupy the whole available space in width and always start at the beginning of a new line. Example of block elements: p, h1 to h6, pre ... whereas inline elements occupy only the place They need in the page. exemple of inline elements: img, a, strong
+ 8
Cool.. if you like.. select my answer as best answer
+ 7
(Course)
Types of Elements
In HTML, most elements are defined as block level or inline elements.
Block level elements start from a new line.
For example: <h1>, <form>, <li>, <ol>, <ul>, <p>, <pre>, <table>, <div>, etc.
Inline elements are normally displayed without line breaks.
For example: <b>, <a>, <strong>, <img>, <input>, <em>, <span>, etc.
The <div> element is a block-level element that is often used as a container for other HTML elements.
+ 1
sorry i still dont get you
+ 1
thank you