# Why my html style color not shown

**URL:** <https://discourse.jupyter.org/t/why-my-html-style-color-not-shown/21336>\
**Category:** Notebook\
**Tags:** help-wanted\
**Created:** [September 9, 2023, 1:47pm UTC](https://discourse.jupyter.org/t/why-my-html-style-color-not-shown/21336 "2023-09-09T13:47:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DevelopMagic](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/developmagic/32/10978_2.png) [@DevelopMagic](https://discourse.jupyter.org/u/DevelopMagic)\
**Post date:** [September 9, 2023, 1:47pm UTC](https://discourse.jupyter.org/t/why-my-html-style-color-not-shown/21336/1 "2023-09-09T13:47:57Z")

</div>

Hello,

I’m having problem with jupyter-notebook, I’ve a ipynb file in which I’ve a cell with this code:

\< span style=“color:red”\>SOME TEXT\< /span\> but i see the text still in black. What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![krassowski](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/krassowski/32/1685_2.png) [@krassowski](https://discourse.jupyter.org/u/krassowski)\
**Post date:** [September 10, 2023, 4:35am UTC](https://discourse.jupyter.org/t/why-my-html-style-color-not-shown/21336/2 "2023-09-10T04:35:36Z")

</div>

This depends on what _exactly_ you type in the cell, and what is your Notebook version. The code as you pasted it in here has two issues:

- spaces after `<` (if you meant to avoid conversion to HTML please use backticks to mark it as code isntead)
- use of curly rather than programmer’s quotation marks

When there is no spurious space and programmers quotation marks are used it renders well in Jupyter Notebook v7.0.3:

![Screenshot from 2023-09-10 05-30-47](https://canada1.discourse-cdn.com/flex031/uploads/jupyter/original/2X/2/242c2337ed63b92ac36c42f2420752297ceb3a3c.png)  
 ![Screenshot from 2023-09-10 05-30-38](https://canada1.discourse-cdn.com/flex031/uploads/jupyter/original/2X/a/a98b82ff9a08bed833be9bb91277c47c5a136be2.png)

---

<div class="post-metadata">

**Author:** ![DevelopMagic](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/developmagic/32/10978_2.png) [@DevelopMagic](https://discourse.jupyter.org/u/DevelopMagic)\
**Post date:** [September 10, 2023, 9:52pm UTC](https://discourse.jupyter.org/t/why-my-html-style-color-not-shown/21336/3 "2023-09-10T21:52:35Z")

</div>

Thank you so much! I solved upgrading de notebook version!
