+ 1
Need some help in HTML task: there is a message on the platform says that there is a problem on the body of the code:
<!DOCTYPE html> <html> <head> <title>My First HTML Document</title> </head> <body> <p>I have successfully created my first document</p> </body> </html>
2 ответов
+ 2
Hey Abubakr Abdalhafeez
code looks fine tbh
if it’s still throwing an error on the body, prob not the code
double check if ur file name is exactly index.html
and it's in the project folder they mentioned
sometimes the system just doesn't catch it if it's outside or named wrong
also maybe just delete and retype the body part manually, could be hidden junk from copy paste
try that n refresh the local server
if still not working lmk, I’ll help u figure it out
0
Here is the task:
Coursera
Instruction
inLabInstructionsPart~PVhjTaJUEe-aewr_zw6MCQ
introduction:
In this lab, you will create a simple HTML document and then view it in a web browser using a local server.
the goal:
The purpose of this lab is to introduce you to the basics of creating a valid HTML document and understanding its structure. By the end of this lab, you will have created a simple HTML page that displays text and learned how to preview it in a web browser using a local server. This lab provides the fundamental HTML skills that are essential for any web development journey.
Objectives:
Understanding HTML document structure.
Create and organize HTML document.
Preview the HTML document in a browser.
directions:
Part 1: Create an HTML Document:
Open the index.html file located in the PROJECT folder . This is where you will write your HTML code.
Start Document : Start by selecting the document type, making sure that the browser recognizes