A question that I have seen recently is, do I need to memorise all HTML and CSS tags to become a web developer?
Whilst it is important to know the basic layout structure using HTML, knowing every single element is not entirely possible. Plus seeing as HTML standards are ever-changing, what you know might be redundant in 5 years time.
<html> <head> <title></title> </head> <body> </body> </html>
It is vital to know some of the basic tags and HTML codes, but overall knowing everything when you start creating sites is not going to happen. There are approximately 110 HTML code tags, and changes are that you aren’t going to need to use all them in one page. In fact, you aren’t likely to even use 50% of them. Not only that, but there are also so many great resources online that provide useful snippets for you to use in your sites, such as:
The same applies to CSS and styling. The most important rule to remember is
# signifies an id. So when you are writing CSS code, it is important to remember what you are referencing; the HTML id or the HTML class.
Again, just like HTML, CSS is always changing and more style properties are being added or removed. The hardest thing that I have remembering regarding CSS styling is the hex color codes. There are 256 hex-color codes, so good luck trying to remember every single variation.
So all-in-all, it is not entirely possible or is it even important to memorise all HTML and CSS codes to become a web developer. The more you learn and developer, the more you will remember.
Lastly on why memorising all HTML and CSS codes to become a web developer is not essential is because all good IDEs (Integrated development environment) have a built-in intel-sense that works like an auto-spell/suggest to help you write better code. Good examples are IDEs are:
- Visual Studio Code
- Visual Studio (Professional)