HTML Basics: Main Concepts and Principles Explained
What Does HTML Stand For?
Tim Berners-Lee created HTML in 1990 and based it on the Standard Generalized Markup Language (SGML). The main principle of HTML basics is surrounding text with angle-bracketed tags to apply a chosen element. However, do not consider HTML to be a programming language. It is a markup language, created to manipulate how a page is displayed.
The basic HTML rule to learn is tag construction. Tags are divided into different categories according to their purpose:
- The root element.
- Document metadata.
- Grouping content.
- Text-level semantics.
- Embedded content.
- Tabular data.
- Interactive elements.
HTML will spice up your pages with interactive content, tables, audio, videos, etc.
A regular HTML tag consists of only a few components. It begins with an opening tag and ends with a closing tag which has to contain a forward slash before the tag name.
Less than and greater than angle brackets are used to enclose each tag. If you do not add a forward slash to the close tag, it won’t work. Some self-closing tags do not require the close tag, but that is the exception, not the rule.
Why You Should Learn HTML: Purpose and Use
After learning HTML basics, you will be able to perform many changes to your page:
- Content structure: make your websites easy-to-read by dividing texts into paragraphs, lists, quotes, and headings.
- Graphics: add images, music, interactive content, and videos into your website.
- Meta tags: use them to tell search engines which keywords are related to your website.
- Comments: include more information for people that will read your HTML code.
Where to Start
If you are a beginner and have no clue where to start, we suggest these easy-to-follow steps for learning HTML:
- HTML introduction is a great place to start your learning process. This tutorial will provide you with the main tips on using HTML tags. Furthermore, you will be able to analyze a basic HTML document after finishing it. You can practice now:
<html> <head> <title>Name of the website</title> </head> <body> <h1>Heading for the content below</h1> <p>Text text text</p> </body> </html>
- The following tutorials cover various tags you can apply to your documents: elements, headings, paragraphs and so on. We also provide code examples for you to practice.
- Click Try it Live button to make changes to the code and analyze the results instantly. This is where the button is usually placed:
- If you are struggling to master the advanced features of HTML, we suggest you continue learning with our interactive and video courses. You will find user-friendly tutorials that are designed for beginners.
What You Will Learn
Our tutorial is divided into separate parts, discussing different aspects of HTML. We start with HTML basics and move on to more advanced topics. You'll know the essential principles before you start building complex structures.
You can see the list of tutorials in the sidebar menu on the left. Don't hesitate and start!
Each tutorial contains information about tags and attributes relevant to the topic. Every HTML element is explained for you to understand and start using immediately.
Getting familiar with the tutorials, you'll notice that some tags and attributes repeat in different tutorials. That's because some of them have more than one function. With every tutorial, you'll find an explanation of what a specific tag can do.
As we have mentioned, do not forget to improve your learning process with our interactive and video courses. In this course, you will be able to learn HTML basics in only one hour! It is a perfect video course for beginners that want to start creating websites right away.