Learn CSS box model first if you want to learn web designing, because all the HTML elements are either inline or block level elements. When we say a <p> tag (Paragraph element) or DIV tag (DIV element) or Hyperlink (anchor tag <a>), then we always refer to these HTML elements’ box model.