Help me to resolve problem

Tell us what’s happening:

Your code so far



<main>
   
<h2>CatPhotoApp</h2>

<p1 >
Kitty ipsum  dolor sit amet, shed everywhere shed everywhere 
</p1>
<p1 >
stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
</p1>



</main>


Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0.

Challenge: Introduction to HTML5 Elements

Link to the challenge:

1 Like

Kindly check the available tags in HTML.

Hi @amalimohamedelamine

There is syntax error in your code.

You have written p1 but there is no such element in HTML
It is p element.

Correct it.

Thank you.

1 Like

Hello @junaidshaikh_js, thanks for helping out people. But as a suggestion I’d say don’t give them full solution, so that they can find the problem on their own.

2 Likes

Yes, right @w3bdev
I will take care next time.

Thank you.

2 Likes

@amalimohamedelamine there are 6 levels of heading in HTML, e.g., h1, h2, etc.

But there is no such level for p tag. So HTML does not understand p1 tag.

Also check for unnecessary white-spaces in your code, e.g., <p > is wrong. It would be <p>.

Lastly, try to use indentation for child elements. It helps in readability of your code.

I hope it helps. Happy coding.

1 Like

see you are a new coder so you r thought to write some paragraph under p tag which is basically use to write the main content of your web page,in this module you won’t have to work hard just any 2-3 alphabets and the program will write all ur p tag element

thank you for your answer.

2 Likes

I haven’t heard about p1 tag in HTML before. I don’t think it’s available html tag. It does has Heading 1, Heading 2, … (H1, H2,…).

Perhaps you can use a WYSIWYG HTML Editor to help you with editing - pretty straight forward for HTML works.

thank you bro resoved :innocent: