How I can add a body on a website page

Hello Everyone,

I hope you are doing well. I am writing to kindly ask for help on how I can add a body on a website page. Actually, it is a first time I learn cording that is why I am struggling. Thank you I am waiting for your responses

Hi @rubycoder82697,

Are you asking based on any of the lessons offered in Codecademy? If yes, it’s good to provide us a link towards the lesson/exercise together with the issue you’re facing.

If it’s just a general question, generally, to add a body into HTML, you will need to follow the structure something like below:

<!DOCTYPE html>

Whereby inside the <body> ...... </body> part, you can have different elements inserted into it, such as frequent use of h1 to h6 tags, span tags, p tags, a tags, div tags, unordered list/ ordered list tags and much more.

For reference (documentation), you can read:

Have a look on the left panel, HTML Elements part, you can click on and see there are a lot of other HTML elements too.

Hope it helps. :slight_smile:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.