HTML is, to put in layman’s term, a programming language that you can use to create content (text, images and videos) on your website, by writing commands. To customise your website, you can also use another programming language called CSS, which allows you to change lots of things in your content, like: the font, size, colour and lots more! Link coming soon.
HTML is short for Hypertext Markup Language, where Hypertext means machines can read it, and Markup Language means it is designed for presenting text.
Commands and tags
Any commands you do in HTML are surrounded by tags. Tags define what command you are doing (for example: headings, italics, and bold), there are two parts in a command, one at the start, one at the end, with your text in the middle. The first tag starts with < (a left angled bracket), then comes the tag, and it closes with > (a right angled bracket), and then your text. After that comes <, then / (a forward slash), then the tag again, and last of all >. For example if you write this in your code (em stands for emphasise, meaning italics):
<em>I can write HTML!</em>
And it will output this:
I can write HTML!
When writing a paragraph (normal text, like this is in right now) in HTML to put on your website, you don’t need to write anything in the code, apart from your text.
If you want to put a blank line on your website, you need to write  . Where the & means it’s HTML coding, and nbsp stands for non-breaking space.
Making comments in HTML
Now we’re going to learn how to create comments, which are used for you not the computer. A comment is something you write in your code, for you to look back at later so you know where something is. For example: if you write “below is my image” in your code above your image, then you look at that code later to change something, you would know where your image is. There are two types of comments in HTML, single line comments, and multi line comments:
Single line comments
To make a single line comment in HTML:
you write // (two forward slashes),
followed by * (an asterisk),
and then your text, like this:
//* This is a single line comment, it can only be one line long.
Multi line comments
To make a multi line comment in HTML:
you add < (a left angled bracket),
followed by ! (an exclamation mark),
and – – (two hyphens),
then add your text,
and to close it we add – – (two hyphens),
and finally > (a right angled bracket), like this:
<!- – This is a multi line comment
for more than one line – ->
In the multi line comment the <!- – tells us where the comment starts and the – -> tells us where it ends.
But the single line comment only needs the //* at the start, it doesn’t need anything at the end.
In the multi line comment, there must be a space between the – and your text.
In the single line comment there must be a space between the * and your text.
If you want to try out HTML, just click here.