HTML div Tag

The Html <div> tag is represents the particular block or section. It is also work as a container that contain HTML elements and text, images etc. The <span> tag is also work as container but the main difference between <div> and <span> is that the div tag is used with blocklevel elements whilst the span tag is used with inline elements.

Example of Code 

  <style type="text/css">
            border:1px solid #333333;
  <div class="welcome-box">
        <p>Hi, welcome to our website.</p>





Hi, welcome to our website.