+ 11
What is wrong with this code? Help!
What is wrong with this code? <!DOCTYPE html> <html> <head> <title>Welcome to Oregon!</title> </head> </html> Please help me! This is so confusing! Why does it not work? Please,please,please help me!
24 Réponses
+ 16
It's like a man without a body.
+ 16
The No Body code
,😁😁
+ 5
<!doctype html>
<html>
<head>
<title>Welcome to Oregon!</title>
</head>
<body> Welcome to Oregon!</body>
</html>
+ 4
https://code.sololearn.com/Wt6ZsqeMkNJK/?ref=app
PeculiarP
Try this One ... You have Idea
+ 2
You should use <body> tag and put some codes to there to appear on the screen!
+ 2
Ok
+ 2
You are <body>-LESS 😁
+ 2
Ahmed yes
+ 2
Dude, <Body> ... </Body> is the visual part of the code. You have forgotten That!
+ 2
Ur code is absolutely correct... to print nothing...
+ 2
Their is nothing wrong with your code.
Just that it doesn't have a "body" content i.e what to display so there for your code displays only the "title" at the title bar of the webpage.
+ 2
PeculiarP No body. Should be:
<!DOCTYPE html>
<html>
<head>
<title> Welcome to Oregon! </title>
</head>
<body>
<!-- Visible content goes here -->
</body>
</html>
If you are wondering, <!-- This is a comment -->
+ 2
<body> </body> is mandatory for visual part of html document.
+ 1
Nobody to show-up
+ 1
Is not full code where is <body> part
+ 1
Is there a space between DOCTYPE and html?
+ 1
Dude, you were able to type this question because you have a body, give it a body too.
+ 1
you dont use body tag. body is main content of html.
0
Hey PeculiarP the body tag is the main visible part of any html doc. So you must use a <body> tag after a <head> tag..
0
use <p> tag to write some text also