To create a heading, we will use the H1 tag.
The heading will be - "Mars Calling. Get Your Tickets Now." Catchy isn't it?
Open your html code editor and type this code-
The HTML code will be -
<h1>Mars Calling. Get Your Tickets Now!</h1>
End of code
So as you can see, to put an h1 element, we use the h1 tag. The H1 tag starts with <H1> and then we close the tag like this </h1> In between, we write the content.
We sandwich the whole code inside the HTML tag. So we use <html> </html> and in between the the start tag and close tag, we have all our codes. We sandwich the main body content of the website in between the <body> </body> elements.
After you finish typing the code, save the code and don't forget to add .html extension after naming it. Let's name it Mars.html
You can then click on the saved .html file. It will open your browser and 'render' the code - as the visitors would see. So the above code will look like this-
Before you proceed to the next step, create a folder and put that Mars.html file inside that folder. You will learn later why you need to do that.