Getting started with HTML
What is HTML?
HTML stands for HyperText Markup Language. It is a markup language used to create web pages. It is used to define the structure of a web page, including the content, layout, and style.
What is HTML5?
HTML5 is a version of HTML that is designed to be backwards compatible with older versions of HTML. It includes new features and improvements that make it easier to create and maintain web pages. In short, some new tags and attributes are added to HTML5 to make it more user-friendly and easier to use.
How much HTML do I need to know?
You just need to know the basics of HTML. You should not spend more than a weekend to learn HTML. Just get the basics done and you will be good to go.
Text/code Editor vs Word processor
Text editors are used to write and edit text files. Specially code editros comes with features like syntax highlighting, auto-completion, and code formatting.
Word processors are used to create and edit documents. They are used to create documents like books, reports, and presentations.
You need a code editor to write HTML code.
Recommended text editors
- Visual Studio Code
- Zed
- VIM (I will not show you how to exit VIM)
- Helix (VIM but useable out of the box)
Recommended code editor extensions
- HTML Snippets
- Live Server
EMMIT HTML
To create a new HTML file, open a text editor and create a new file with the .html
extension. By default for all HTML files, emmit is enabled in VS Code as default. Emmit is used to produce code faster with shortcuts. No one nowadays writes HTML code by hand. Emmit takes care of it for you. Spend some time to get used to it. Visit Emmit for more information.