December 18, 2018 · coding html

HTML Divs

Im currently using the Pesticide plugin which helps to see the breakdown of the website. While hovering over a section I hit crtl and it will display what that current section is.

666

The <div> tag defines a division or a section in an HTML document.

The <div> element is often used as a container for other HTML elements to style them with CSS or to perform certain tasks with JavaScript.

If you find your code isnt applying the way you want it, for example your margins arent appearing properly its best to check using the Chrome Dev Tool (f12) to inspect your code to see if there is any user agent stylesheet directly appiled already.

111-4

  • LinkedIn
  • Tumblr
  • Reddit
  • Google+
  • Pinterest
  • Pocket