Html-code embedded?

Hi and apologise in advance if there is a thread about this I can’t find.
There must be a solution there I can use a html-code to be embedded?

Code like this:
“div id=‘wrapper-RANH’>Vädret i Rumah Sangat Sederhana Babakanpermai

Detaljerad väderprognos</script“

Sorry, can’t get the code to show without it automatically creates a link but hopefully you get the picture.

Embedded in what? A topic post? Use code blocks:

<a href="https://google.com/">Google</a>

Sorry: in a card in lovelace UI.

Hi,

Not quite what you need but maybe use the markdown card ?

type: markdown
content: >-
  The **Markdown** card allows you to write any text. You can style it **bold**,
  *italicized*, ~strikethrough~ etc. You can do images, links, and more.


  For more information see the [Markdown
  Cheatsheet](https://commonmark.org/help).

alternatively to pull in html from an external source : iframe

I would like a kind of widget as a card since I don’t want a full web page embedded that you do with webpage card. Will look into markdown card, thx.

You can try this HTTP - Home Assistant
Then use a webpage card and put in this URL: http://your.domain:8123/local/