Front End Programmer Question:

Explain the difference between inline, block, inline-block and box-sizing?

Tweet Share WhatsApp

Answer:

inline is the default. An example of an inline element is <span>.

block displays as a block element, such as <div> or <p>.

inline-block displays an element as an inline-level block container. Here's an article on the topic.

box-sizing tells the browser sizing properties.

Download Front End Developer PDF Read All 67 Front End Developer Questions
Previous QuestionNext Question
Explain what is web a application?Tell me where do you place your JavaScript on the page?