Front End Programmer Question:
Explain the difference between inline, block, inline-block and box-sizing?
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.
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.
Previous Question | Next Question |
Explain what is web a application? | Tell me where do you place your JavaScript on the page? |