This forum is now read-only. Please use our new forums at discuss.codecademy.com.

HTML Basics Forum

View Course » View Exercise

351 points
D64542b5cff44af1a3620d7240337c45?s=140&d=retro
Submitted by
superness56
over 4 years ago

Not sure why my Syntax isn't working

<!DOCTYPE html>

<head>
    <title>
        Headings & Paragraphs
    </title>

</head>
<body>
<hl>
 Heading 1   
</hl>   
    <p>
     Par 1   
    </p>
    <p>
     Par 2   
    </p>

</body>

1 vote

permalink

Sure! because you've forgotten these tags!

290 points
1b520902b2269dbecb646fb16a0ff3bc?s=140&d=retro
Submitted by
djami17
over 4 years ago

4 Comments

1b520902b2269dbecb646fb16a0ff3bc?s=140&d=retro djami17 over 4 years ago

theses tags and hadn't appeared

D64542b5cff44af1a3620d7240337c45?s=140&d=retro superness56 over 4 years ago

it didn't copy correctly. here is my syntax.
<!DOCTYPE html>

<head>
    <title>
        Headings & Paragraphs
    </title>

</head>
<body>
<hl>Heading 1</hl>  
    <p>
     Par 1   
    </p>
    <p>
     Par 2   
    </p>

</body>

1b520902b2269dbecb646fb16a0ff3bc?s=140&d=retro djami17 over 4 years ago

if so, it should work fine !

Picture EDUARDO SOUZA over 4 years ago

head>

Headings & Paragraphs

Heading 1




Par 1



Par 2


1 vote

permalink

I think maybe you are confusing hl to be H and L. It is supposed to be H and 1 as in h1.
I got the same error myself and tried this out. worked fine then.

12 points
C0278f3fe6224d18880354029e8cbdf1?s=140&d=retro
Submitted by
Safwan Siddiq
over 4 years ago


0 votes

permalink

If you are correct and actually made a typing error in the question, then this syntax is perfectly fine and should work!

1106 points
510275d98aa009ff1a003663_770597810
Submitted by
Nabeeha
over 4 years ago


0 votes

permalink

i am having the same problem

98 points
Deae964c4151c6fb952a6484cffd93cf?s=140&d=retro
Submitted by
joelhi99
over 4 years ago

5 Comments

510275d98aa009ff1a003663_770597810 Nabeeha over 4 years ago

Can you post your code, so we can help?

Fd2ed583f5356b67e3137b288d2210d6?s=140&d=retro manolo96 about 4 years ago

<!DOCTYPE html>

<head>
    <title>
        Headings & Paragraphs
    </title>

</head>
<body>
<h1>
 headline   
</h1>   
<p>
 par 1   
</p>    
<p>
 par 2   
</p>    

</body>

Fd2ed583f5356b67e3137b288d2210d6?s=140&d=retro manolo96 about 4 years ago

it doesn't work!

510275d98aa009ff1a003663_770597810 Nabeeha almost 4 years ago

It should be working, there are no clear mistakes and I entered it and it worked.

06a7d05ef4557e4d9b2399650badb63d?s=140&d=retro Rick McClelland over 2 years ago

<!DOCTYPE html> Headings & Paragraphs Heading 1 Par 1 Par 2


0 votes

permalink

isnt working?help

129 points
62a42ceba98cc22e39ee1c447fb1252e?s=140&d=retro
Submitted by
Michael davis
about 3 years ago


0 votes

permalink

<!DOCTYPE html>


Result

125 points
06a7d05ef4557e4d9b2399650badb63d?s=140&d=retro
Submitted by
Rick McClelland
over 2 years ago