This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by boostmonster
about 10 years

[resolved] add a head tag

it keeps saying oops try again add a head tag…what am i doing wrong?

<!-- I'm a comment. You won't actually see me on the web page.
     You should write your header in the line below me! -->
     <head>
        <style>
         body {
             text-align: center;
         }
            h1 {
              text-align: center;
         }
             p {
               text-align: center;
         }
             </style>
        </head>
     <body>
<h1>Kevin Capitano</h1>
<p>Been Here Done This</p>
<input type="email"
placeholder="Your email">
<input type="submit">
</body>

Answer 52c60672282ae39725000284

1 vote

Permalink

Ok feel free to compare:

Please do not copy & paste it!

<!DOCTYPE html>

<html>

<head>

<!-- I'm a comment. You won't actually see me on the web page.
     You should write your header in the line below me! -->
<style>

body {
    text-align: Center;
    background: black;
    color: white;
}

h1 {
    text-align:Center;
}

p {
    text-align: Center;
}
</style>
</head>
<body>

<h1>Your Name</h1>

<p>Your Paragraph</p>

<p> E-mail

<input type="email" placeholder="Your email">

<input type="submit">

</p>

</body>

</html>

Hope it helps. :)

points
about 10 years

5 comments

boostmonster about 10 years

Looks Like I’m missing code.Thanks for the response, for sure,if I copied and pasted I wouldn’t learn anything :-). Thanks Again

kp_569 about 10 years

Thanks…. did not think the

boostmonster about 10 years

yeah that was my problem also the

paresh bhatt about 10 years

I solved the problem on my own without copying it.

Israel Dilan Pantojas about 10 years

:) Good Job, keep it up, cause it only gets better!