Learn HTML - free tutorials
What is HTML?
HTML stands for HyperText Markup Language and it is the language used to describe the structure and content of a web page. Every website uses HTML to show content to visitors in the web browser. HTML files use a .html file extension.
What is HTML used for?
HTML is used to create the structure and content of a web page including headers, paragraphs and links as well as semantic elements like nav and article elements and more generic elements like div. Any HTML element can then be targeted with CSS to add custom styles and make it look how the developer wants but without HTML, there would be nothing to style, there would be no content on the page. HTML is the most fundamental component of creating websites.
How to learn HTML
You can start learning HTML online with text-based tutorials and references or video tutorials. As you learn, I'd recommend building your own projects as it helps you put ideas into practice and remember more of what you learned.
When learning HTML, you will be learning things like the structure of an HTML document, HTML tags like the <a>
tag for creating a link and the <img>
tag for creating an image, HTML forms, and attributes such as href
, src
, class
and id
.
You can start learning HTML on websites like W3Schools and MDN web docs or if you're looking for video tutorials, you can learn HTML on Treehouse, which is where I learned to code. With Treehouse you can learn HTML by watching video tutorials, following along by writing the code yourself, and completing code challenges and quizzes to help you solidify what you learned. You'll also earn badges for each section of each course that you complete, which you can then show to potential employers with your Treehouse profile.
By using my link, you can get your first month free on Treehouse with either the "courses" or "courses plus" plan.