Web design step two

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
<Cat Photos>
<body>
  <h1>CatPhotoApp</h1>
  <Cat Photos>
</body>
</html>
  **Your browser information:**

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

Challenge: Step 2

Link to the challenge:

still can’t cross the step 2

Hi!

In HTML an element is a piece of code made of a starting tag and an end tag.

For example

<p>I am a paragraph. I have a start and end tag</p>

As shown in the above example they can have text inside. The element tells the text what to look like. The ending tag always has a forwards slash before it.

And this is what code for a h2 element looks like

<h2>Hello World!</h2>

Apply this to your own code

1 Like

thank you, step two cross

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.