HTML Introduction to HTML and CSS Getting Familiar with HTML and CSS Test: Changing the Look of a Web Page

Change the HTML paragraph tag to an h1 tag.

how do i answer this: Change the HTML paragraph tag to an h1 tag.

index.html
<!doctype html>
<html>
  <head>
    <link href="styles.css" rel="stylesheet">
  </head>
  <body>

    <h1><p>Welcome to My Web life!<h1>

  </h1>
  <h1> 'tag
styles.css
h1 {
  color: blue;
}

1 Answer

Joe Nguyen
Joe Nguyen
18,039 Points

First 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!