i

Learn HTML and CSS in 10 Days

Use the Proper Document Structure

As mentioned previously, HTML is regarded as a forgiving language and, thus, pages will get executed without using elements.

Without a doctype and these auxiliary components, pages won't render appropriately in every browser.

Bad Code

Good Code