Introduction to the HTML5 Elements

Introduction to the HTML5 Elements
0

#1

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>

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

<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the the couch sleep in the sink fluffy fur catnip scratched.</p>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/introduction-to-html5-elements


#2

What is your question?


#3

what is the main tag here


#4

The HTML <main> tag is used to represent the main content area within an HTML document. An HTML document can have a maximum of one <main> element.
Here, wrapping the both ptags inside <main> tag means to put your p tags inside main tag.
Hope it helps.


#5

how to wrap these to p elements into one main tag and it is showing the error that main element should have two paragraph elements as children


#6

CatPhotoApp

First Para

Second Para

you can create two para with one " main" .


#7

Putting inside means start a main tag and then put both of your p tags and then close the main tag.


#8

open main
paragraph 1
paragraph 2
close main