<!DOCTYPE html>
<html>
  <head>
    <title>The <div> Tag</title>
  </head>
  <body>
    <h1> The <div> Tag </h1>
    <div style="background-color:#8ebf42">
      <p>We use the <div> tag to group two paragraphs for applying a background to the text, and to add color to this
        <span style="color:#1c87c9">word</span> we place it within <span> tag.</p>
      <p> Pay attention, that the <div> tag is a block-level element, so a line break is placed before and after
        it.</p>
    </div>
  </body>
</html>