# Alt attribute showing that it is empty

**URL:** <https://forum.freecodecamp.org/t/alt-attribute-showing-that-it-is-empty/483071>\
**Category:** Curriculum Help\
**Tags:** css, html\
**Created:** [October 25, 2021, 10:59am UTC](https://forum.freecodecamp.org/t/alt-attribute-showing-that-it-is-empty/483071 "2021-10-25T10:59:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibejoseph77](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ibejoseph77/32/193857_2.png) [@ibejoseph77](https://forum.freecodecamp.org/u/ibejoseph77)\
**Post date:** [October 25, 2021, 10:59am UTC](https://forum.freecodecamp.org/t/alt-attribute-showing-that-it-is-empty/483071/1 "2021-10-25T10:59:58Z")

</div>

**Tell us what’s happening:**  
Describe your issue in detail here.  
why does it keep saying my alt attribute is empty when it is not. please help

```
  **Your code so far**

```

```html

<h2>CatPhotoApp</h2>
<main>
<img src=https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg alt= A cat relaxing .>
<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>

```

```
  **Your browser information:**

```

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

**Challenge:** Add Images to Your Website

**Link to the challenge:**

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/add-images-to-your-website)**
>
> Learn to Code — For Free

---

<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:** [October 25, 2021, 11:10am UTC](https://forum.freecodecamp.org/t/alt-attribute-showing-that-it-is-empty/483071/2 "2021-10-25T11:10:47Z")

</div>

You need to use quotes around the values of the attributes

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [April 25, 2022, 11:11pm UTC](https://forum.freecodecamp.org/t/alt-attribute-showing-that-it-is-empty/483071/3 "2022-04-25T23:11:33Z")

</div>

Closed on April 25, 2022, 11:11pm UTC

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