The best HTML element to represent and show content that can be viewed by the user is the
body HTML element tag
For example, the
body HTML elements tag is used to add
nav, etc. HTML element tags that are seen by the user on the website.
body HTML element tag can be written like this,
<!-- Usage of the 'body' HTML element tag --> <html> <!-- 'body' HTML element tag --> <body> <h1>Hello World</h1> <p>This is a paragrapgh tag inside the body tag</p> </body> </html>
As you see from the above code we have used the
h1 (heading level 1 tag) and
p (paragraph tag) HTML tags inside the
body HTML element tag that are used to show content when the user visits the website.
See the above code live in JSBin.
That's all 😃!