Hr tag should come between the title and the paragraph

Tell us what’s happening:
The hr tag should come between the title and the paragraph.

Your code so far

      <style>
  h4 {
    text-align: center;
    height: 25px;
  }
  p {
    text-align: justify;
  }
  .links {
    text-align: left;
    color: black;
  }
  .fullCard {
    width: 245px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 10px 5px;
    padding: 4px;
  }
  .cardContent {
    padding: 10px;
  }
  .cardText {
    margin-bottom: 30px;
  }
</style>
<div class="fullCard">
  <div class="cardContent">
    <div class="cardText">
      <h4><del>Google</del>Alphabet</h4>
   <hr>   
      <em><p>Google was founded by Larry Page and Sergey Brin while they were <u>Ph.D. students</u> at <strong>Stanford University</strong>.</p></em>
    </div>
    <div class="cardLinks">
      <a href="https://en.wikipedia.org/wiki/Larry_Page" target="_blank" class="links">Larry Page</a><br><br>
      <a href="https://en.wikipedia.org/wiki/Sergey_Brin" target="_blank" class="links">Sergey Brin</a>
    </div>
  </div>
</div>
```html

<style>
h4 {
  text-align: center;
  height: 25px;
}
p {
  text-align: justify;
}
.links {
  text-align: left;
  color: black;
}
.fullCard {
  width: 245px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 10px 5px;
  padding: 4px;
}
.cardContent {
  padding: 10px;
}
.cardText {
  margin-bottom: 30px;
}
</style>
<div class="fullCard">
<div class="cardContent">
  <div class="cardText">
    <h4><del>Google</del>Alphabet</h4>
 <hr>   
    <em><p>Google was founded by Larry Page and Sergey Brin while they were <u>Ph.D. students</u> at <strong>Stanford University</strong>.</p></em>
  </div>
  <div class="cardLinks">
    <a href="https://en.wikipedia.org/wiki/Larry_Page" target="_blank" class="links">Larry Page</a><br><br>
    <a href="https://en.wikipedia.org/wiki/Sergey_Brin" target="_blank" class="links">Sergey Brin</a>
  </div>
</div>
</div>

Your browser information:

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

Challenge: Create a Horizontal Line Using the hr Element

Link to the challenge:

I can’t see your code, but I think you pasted it in the forum without putting it in a block, so it’s not showing correctly.

With that being said , assuming you pasted your code and the forum rendered your code, I can see a horizontal line where it should be. Try using Chrome and see it that resolves your problems.

Hello~!

I have edited your post for readability. When pasting large blocks of code, you want to ensure there is a line of three backticks (```) before and after the code.

It looks like you used the “Ask for Help” button, but might have accidentally overwritten one of the ``` lines in the process?

Please feel free to let me know if you have any questions about this! :slight_smile:

you can’t put a p element inside em tags, you can do the opposite, put the em tags inside the p element

maybe reset your code and try again and do only the required change