This forum is now read-only. Please use our new forums! Go to forums
10/21 <!DOCTYPE html> it's not working! help! what's wrong in this?
<!DOCTYPE html>
<head>
<style>
body{
text-align: center;
}
</style>
</head>
<body>
<h1>Clara tirkey</h1>
<p> Hello! my name is Clara and i am here to learn html because it really interests me.I love to sing, write(i want to be an author) and i love walking over mysterious places. What can i say they intruige me. I love wandering in a forests- all those who wander are not always lost!</p>
<input type='email' placeholder='Email'>
<input type='submit'>
</body>
Answer 530a543f9c4e9d3e67000050
Answer 5333b3dd9c4e9df9eb00153d
5 votes
<!DOCTYPE html>
<head></head>
<style>
body {
text-align:center;
}
</style>
<body>
<h1>Fatemeh</h1>
<p>Hi! I am learning how to make my own webpage!I really like painting and travel with family,and I love ice-cream! </p>
<input type="email" placeholder="Email">
<input type="submit">
</body>
hi guys,you should notice that put your head tags before your style tags and after the !doctype html.
1 comments
Michael Rizzo over 9 years
Taking out the first two lines works. This will solve the problem
Answer 53c4135052f863c5ce0018e6
5 votes
You need to remove the comment at the top of the page. It worked for me.
1 comments
Ivaylo Valchev over 9 years
That’s worked.
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
11 comments
Had the same issue. This worked for me.
By the way, not my solution… just saw on the Q&A section…
same problem
i have the same problem too. can’t continue.
yes taking out the first two lines worked for me to
thanks ,it works!
Omg thanks so much!
Thx it works really well!!!!
thx man
Many thanks.Worked a treat.
so simple and so tricky at the same time but thanks ! :) (Y)