Make Money Online HTML PHP JAVASCRIPT Are You Making These 3 HTML Mistakes?

Are You Making These 3 HTML Mistakes?

Are You Making These 3 HTML Mistakes? post thumbnail image


If you’re coding in HTML, there’s a good chance you’re making at least one of these three common mistakes.

1. Not Using a Doctype

A Doctype is an instruction to the web browser about what version of HTML the page is written in. The current standard is HTML5, and all major browsers recognize the HTML5 doctype.

2. Incorrectly Nesting Tags

All tags must be properly nested within each other. This means that if you open a tag, you must close it before opening another tag. For example, if you open a

tag, you must close it before opening a

tag.

3. Forgetting to Close Tags

This is related to the previous mistake. Every tag that you open must be closed before the end of the document, with the exception of self-closing tags like
and .

Related Post