LinkedIn CSS Skill Assessment Quiz Answers

What is true of block and inline elements?

Latest Update on 9th March, 2022 by Certification Course Answers

What is true of block and inline elements?

  1.  By default, block elements are the same height and width as the content container between their tags; inline elements span the entire width of its container.
  2.  By default, block elements span the entire width of its container; inline elements are the same height and width as the content contained between their tags.
  3.  A <nav> element is an example of an inline element. <header> is an example of a block element.
  4.  A <span> is an example of a block element. <div> is an example of an inline element.

Correct Answer:

  •  By default, block elements span the entire width of its container; inline elements are the same height and width as the content contained between their tags.

Latest Updates

No posts found in this category.