
1. Block vs. inline level elements
HTML elements are either block or inline elements. The characteristics of block elements include:
Always begin on a new line
Height, line-height and top and bottom margins can be manipulated
Width defaults to 100% of their containing element, unless a width is specified
Examples of block elements include <div>, <p>, <h1>, <form>, <ul> and <li>. Inline elements on the other hand ...
Read More
No Comments