Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialsunny emiko
39 PointsChange the HTML paragraph tag to an h1 tag.
how do i answer this: Change the HTML paragraph tag to an h1 tag.
<!doctype html>
<html>
<head>
<link href="styles.css" rel="stylesheet">
</head>
<body>
<h1><p>Welcome to My Web life!<h1>
</h1>
<h1> 'tag
h1 {
color: blue;
}
1 Answer
Joe Nguyen
25,189 PointsFirst things first I see many extra <h1> tags all you need is the beginning <h1> and ending </h1> of the h1. Delete the extra h1 tags and your good with that part. Next ,there isn't a ending for the </body> and lastly add the ending for the </html> All of that should look like this: Edit: you don't need the paragraph tags as well <p>
<!doctype html>
<html>
<head>
<link href="styles.css" rel="stylesheet">
</head>
<body>
<h1>Welcome to My Web Page!</h1> //1st
</body> //2nd
</html> //3rd
Hope that helps!