Front End Programmer Question:

Download Job Interview Questions and Answers PDF

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

Front End Developer Interview Question
Front End Developer Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Explain what is web a application?Tell me where do you place your JavaScript on the page?