# Error in using u tag

**URL:** <https://forum.freecodecamp.org/t/error-in-using-u-tag/331178>\
**Category:** Curriculum Help\
**Tags:** css, html\
**Created:** [December 6, 2019, 1:47pm UTC](https://forum.freecodecamp.org/t/error-in-using-u-tag/331178 "2019-12-06T13:47:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Usman786](https://avatars.discourse-cdn.com/v4/letter/u/96bed5/32.png) [@Usman786](https://forum.freecodecamp.org/u/Usman786)\
**Post date:** [December 6, 2019, 1:47pm UTC](https://forum.freecodecamp.org/t/error-in-using-u-tag/331178/1 "2019-12-06T13:47:34Z")

</div>

**Tell us what’s happening:**

**Your code so far**

```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>Google</h4>
    <p>Google was founded by Larry Page and Sergey Brin while they were <u> Ph.D. students</u> at <strong>Stanford University</strong>.</p>
  </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/78.0.3904.108 Safari/537.36`.

**Challenge:** Use the u Tag to Underline Text

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design/applied-visual-design/use-the-u-tag-to-underline-text)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![leebut](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/leebut/32/10914_2.png) [@leebut](https://forum.freecodecamp.org/u/leebut)\
**Post date:** [December 6, 2019, 2:04pm UTC](https://forum.freecodecamp.org/t/error-in-using-u-tag/331178/2 "2019-12-06T14:04:09Z")

</div>

You have a space before and after the `<u>` tag. Which one should you remove? Remember which text `<u></u>` need to wrap around.

---

<div class="post-metadata">

**Author:** ![Usman786](https://avatars.discourse-cdn.com/v4/letter/u/96bed5/32.png) [@Usman786](https://forum.freecodecamp.org/u/Usman786)\
**Post date:** [December 6, 2019, 2:26pm UTC](https://forum.freecodecamp.org/t/error-in-using-u-tag/331178/3 "2019-12-06T14:26:13Z")

</div>

thank you i did this with the help of you

---

<div class="post-metadata">

**Author:** ![leebut](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/leebut/32/10914_2.png) [@leebut](https://forum.freecodecamp.org/u/leebut)\
**Post date:** [December 6, 2019, 2:28pm UTC](https://forum.freecodecamp.org/t/error-in-using-u-tag/331178/4 "2019-12-06T14:28:20Z")

</div>

You’re welcome.  
I’ve spent much time trying to figure out why code didn’t work, and often it was a simple error.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 25, 2021, 7:42am UTC](https://forum.freecodecamp.org/t/error-in-using-u-tag/331178/5 "2021-01-25T07:42:31Z")

</div>


