# Use Bubble-defined formatting in HTML Element

**URL:** <https://forum.bubble.io/t/use-bubble-defined-formatting-in-html-element/375604>\
**Category:** Questions\
**Created:** [July 11, 2025, 1:33pm UTC](https://forum.bubble.io/t/use-bubble-defined-formatting-in-html-element/375604 "2025-07-11T13:33:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abstractus](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@abstractus](https://forum.bubble.io/u/abstractus)\
**Post date:** [July 11, 2025, 1:33pm UTC](https://forum.bubble.io/t/use-bubble-defined-formatting-in-html-element/375604/1 "2025-07-11T13:33:21Z")

</div>

I understand that the HTML element is often used to embed code and iframes. But my application for the HTML element is so boringly basic that I couldn’t imagine that it seems so difficult to find an answer how to do this…

I want to import blog articles from a WordPress installation. The body text is in HTML and has the plain standard HTML tags like \<p\>, \<h2\>, \<ol\> \<li\> etc. Nothing fancy at all.

What I want seems very close at hand too: I want this HTML content to look like the rest of the Bubble App. With other words, I want p text, h2 titles etc. to be defined by some overall css styles, similar to the ones I set in Bubble for the Text element.

I am convinced that this must be possible in a straightforward way… can someone give me a hint?

(I found several posts with a similar question but didn’t seem to find an answer)

Thanks & have a bubbleful day!

---

<div class="post-metadata">

**Author:** ![net-tt](https://avatars.discourse-cdn.com/v4/letter/n/c5a1d2/32.png) [@net-tt](https://forum.bubble.io/u/net-tt)\
**Post date:** [July 11, 2025, 1:57pm UTC](https://forum.bubble.io/t/use-bubble-defined-formatting-in-html-element/375604/2 "2025-07-11T13:57:58Z")

</div>

Create a CSS with styles that matches the Bubble app. And apply it to your blog content in HTML element.

---

<div class="post-metadata">

**Author:** ![ihsanzainal84](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ihsanzainal84/32/245932_2.png) [@ihsanzainal84](https://forum.bubble.io/u/ihsanzainal84)\
**Post date:** [July 11, 2025, 2:11pm UTC](https://forum.bubble.io/t/use-bubble-defined-formatting-in-html-element/375604/3 "2025-07-11T14:11:56Z")

</div>

Alternatively, you can add the same CSS classes that your Bubble app uses. There’s a post about how to get the class names of your own Bubble editor styles.

---

<div class="post-metadata">

**Author:** ![abstractus](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@abstractus](https://forum.bubble.io/u/abstractus)\
**Post date:** [July 17, 2025, 3:21pm UTC](https://forum.bubble.io/t/use-bubble-defined-formatting-in-html-element/375604/4 "2025-07-17T15:21:24Z")

</div>

Thanks @net-tt and @ihsanzainal84 for your hints!
