+ 2

What are the differences between block and incline elements?

24th Apr 2017, 1:17 PM
Vasanth Kumar
Vasanth Kumar - avatar
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
24th Apr 2017, 1:57 PM
Jérémie Agossouvi
Jérémie Agossouvi - avatar
+ 8
Cool.. if you like.. select my answer as best answer
24th Apr 2017, 6:27 PM
Jérémie Agossouvi
Jérémie Agossouvi - avatar
+ 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.
24th Apr 2017, 2:21 PM
Jérémie Agossouvi
Jérémie Agossouvi - avatar
+ 1
sorry i still dont get you
24th Apr 2017, 2:03 PM
Vasanth Kumar
Vasanth Kumar - avatar
+ 1
thank you
24th Apr 2017, 5:26 PM
Vasanth Kumar
Vasanth Kumar - avatar