After opening it, insert the body tag after the closing tag of the head element but before the closing tag of the html element (meaning the body tag is still inside the HTML file).
<html>
<head>
<title>the world is ending</title>
</head>
<body>
</body>
</html>
Every letter/words that is then typed between the opening and closing tag of the body element is displayed in the browser. for instance, type "is the letters showing?" within the
body tag as shown below:
<html>
<head> <title>the world is ending</title>
</head>
<body>is the letters showing?
</body>
</html>
Now save the file by clicking the file menu and then selecting "save". after saving, close your notepad and then open the file "first.html" with a brower and huzzah!! you succeeded an adding words to your web page. Next will be about adding background colour to the page after that we'll see how to add a background image and then we move over to formatting texts in HTML documents.
No comments:
Post a Comment