What is true of block and inline elements? (Alternative: Which statement about block and inline elements is true?)

Advertisement

  • 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.
  • 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.
  • A <nav> element is an example of an inline element. <header> is an example of a block element.
  • A <span> is an example of a block element. <div> is an example of an inline element.
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend