In this topic, we will look at an example of an HTML basic code and explain it.
Every HTML document has the same structure, every HTML document is divided into the following two parts as mentioned in the previous topic.
Let’s see what happens when you copy/paste the HTML code below into the live coding editor below:
Your results should look like the one below
The <h1> </h1> is the main heading tag used to create a main heading in HTML.
The <p> </p> is a paragraph tag used to create a paragraph in HTML.
Click here to practice the HTML code yourself.
In this example – see if you can change the heading and the paragraph text. Click run and see what happens.
MyTrainingBoard is loading..