What is HTML?

By Tony 2023.2.13


To code a good and functional website, you need at least 3 coding languages: HTML, CSS, and JavaScript.

HTML5
HTML5 is the current version of HTML.

HTML is like a house's bricks; it makes the structure and content of a website. HTML stands for Hyper Text Markup Language, which means it is a programming language that marks up texts using tags like these: <h1>Hello World!</h1> .

Congratulations! If you are new here, you just saw your first line of code! See the tags "<h1> </h1>" around the text "Hello World!" ? They told the browser the text inside the tags is a heading. Tags <h1> </h1> mean the content between them is a level one heading. This is the result of that code:

Hello World!

There are more other kinds of tags beside <h1> and </h1>, but most of them each have two matching tags wrapping up things like texts, codes, or even other tags. And notice the second tag wraps up the text, and it has a slash / before h1: </h1>

Tags and content inside them all together are called an "element", so
"<h1>Hello World!</h1>" is an example of an element.

Summary:
HTML marks up the structure and the content of a website, it has many diffrent tags and most of them have two matching tags. Two tags mark up an "element". The second tag ends the element, and has an extra slash in the tag.

If you want to learn more different tags, click the Next button to see more!