# \#html

**URL:** https://discuss.streamlit.io/tag/html/133.md

[Latest](https://discuss.streamlit.io/latest.md) · [Categories](https://discuss.streamlit.io/categories.md) · [Tags](https://discuss.streamlit.io/tags.md)

---

## [A Streamlit app to run Python scripts, Streamlit apps, HTML/CSS/Javascript and even React!](https://discuss.streamlit.io/t/a-streamlit-app-to-run-python-scripts-streamlit-apps-html-css-javascript-and-even-react/120099)

<div class="topic-metadata">

**Author:** [@szelee](https://discuss.streamlit.io/u/szelee)\
**Replies:** 0\
**Last updated:** [November 16, 2025, 8:44pm UTC](https://discuss.streamlit.io/t/a-streamlit-app-to-run-python-scripts-streamlit-apps-html-css-javascript-and-even-react/120099 "2025-11-16T20:44:13Z")

</div>

---

## [having more than one st.html with style change does not reflect right](https://discuss.streamlit.io/t/having-more-than-one-st-html-with-style-change-does-not-reflect-right/119764)

<div class="topic-metadata">

**Author:** [@Gosu](https://discuss.streamlit.io/u/Gosu)\
**Replies:** 1\
**Last updated:** [October 14, 2025, 5:47am UTC](https://discuss.streamlit.io/t/having-more-than-one-st-html-with-style-change-does-not-reflect-right/119764 "2025-10-14T05:47:57Z")

</div>

Hello there I wanted to have a st.divider with different colours and apparently there is no colour parameter for this function. So, I ended up using st.html with style like below st.html( ''' \<style\> hr { …

---

## [Running  Streamlit/Stlite apps directly on Github Pages](https://discuss.streamlit.io/t/running-streamlit-stlite-apps-directly-on-github-pages/116843)

<div class="topic-metadata">

**Author:** [@Rafael15](https://discuss.streamlit.io/u/Rafael15)\
**Replies:** 0\
**Last updated:** [July 6, 2025, 8:01pm UTC](https://discuss.streamlit.io/t/running-streamlit-stlite-apps-directly-on-github-pages/116843 "2025-07-06T20:01:05Z")

</div>

I believe I have found a workaround that allows publishing streamlit apps on github pages, running directly in the browser, through stlite, and I would like to share it with those who may be having difficulty with the to…

---

## [Why this java script failing to rerun the script  ?](https://discuss.streamlit.io/t/why-this-java-script-failing-to-rerun-the-script/115989)

<div class="topic-metadata">

**Author:** [@ashish.pal](https://discuss.streamlit.io/u/ashish.pal)\
**Replies:** 0\
**Last updated:** [June 23, 2025, 3:37pm UTC](https://discuss.streamlit.io/t/why-this-java-script-failing-to-rerun-the-script/115989 "2025-06-23T15:37:56Z")

</div>

I am rendering three buttons, when user clicking any of the buttons, It will send that buttons text to URL, where I am reading it using st.qeury\_param, but it not working as I script has to rerun once java send the butto…

---

## [ipysgima not working with streamlit](https://discuss.streamlit.io/t/ipysgima-not-working-with-streamlit/115756)

<div class="topic-metadata">

**Author:** [@Emiliano1](https://discuss.streamlit.io/u/Emiliano1)\
**Replies:** 0\
**Last updated:** [June 20, 2025, 12:03am UTC](https://discuss.streamlit.io/t/ipysgima-not-working-with-streamlit/115756 "2025-06-20T00:03:22Z")

</div>

I wanted to re-open the following post: Unable to render ipysigma graph I’ve also been unable to get ipysigma to work with Streamlit, even though the HTML file itself works correctly (I am running exactly the same examp…

---

## [Using Quarto Closeread in streamlit app](https://discuss.streamlit.io/t/using-quarto-closeread-in-streamlit-app/88850)

<div class="topic-metadata">

**Author:** [@pablocerchia](https://discuss.streamlit.io/u/pablocerchia)\
**Replies:** 1\
**Last updated:** [April 19, 2025, 3:05pm UTC](https://discuss.streamlit.io/t/using-quarto-closeread-in-streamlit-app/88850 "2025-04-19T15:05:53Z")

</div>

Hi! I’ve been experimenting using the Closeread extension from Quarto. I’ve created a scrollytelling story and I tried to embed the rendered html in the streamlit app but when I execute the app it only shows plain text. …

---

## [Custom fonts stopped working in 1.43](https://discuss.streamlit.io/t/custom-fonts-stopped-working-in-1-43/94177)

<div class="topic-metadata">

**Author:** [@tdykes](https://discuss.streamlit.io/u/tdykes)\
**Replies:** 5\
**Last updated:** [March 26, 2025, 4:29pm UTC](https://discuss.streamlit.io/t/custom-fonts-stopped-working-in-1-43/94177 "2025-03-26T16:29:31Z")

</div>

I have an app that uses custom fonts, its currently deployed to Azure using 1.41. I was about to push a new branch today and though it would be good time to update to 1.43 (I wanted that timezone support). I did a pip i…

---

## [Scroll browser to your code snippet](https://discuss.streamlit.io/t/scroll-browser-to-your-code-snippet/93483)

<div class="topic-metadata">

**Author:** [@Sarnath\_K](https://discuss.streamlit.io/u/Sarnath_K)\
**Replies:** 0\
**Last updated:** [February 23, 2025, 3:31pm UTC](https://discuss.streamlit.io/t/scroll-browser-to-your-code-snippet/93483 "2025-02-23T15:31:31Z")

</div>

Folks, Do you have a scenario where a user clicks a button but the response comes down the screen and is not visible unless the user scrolls manually? Then, you can use this very simple snippet to auto-scroll the brows…

---

## [Html and markdown are not being properly displayed and ui does not look good](https://discuss.streamlit.io/t/html-and-markdown-are-not-being-properly-displayed-and-ui-does-not-look-good/89073)

<div class="topic-metadata">

**Author:** [@Muhammad14](https://discuss.streamlit.io/u/Muhammad14)\
**Replies:** 5\
**Last updated:** [January 7, 2025, 2:57pm UTC](https://discuss.streamlit.io/t/html-and-markdown-are-not-being-properly-displayed-and-ui-does-not-look-good/89073 "2025-01-07T14:57:42Z")

</div>

Hey i am working with phidata AI Vedio summarizer project and i am not comfortable while using the html and css.i do not know what’s wrong, my output does not look good i think there is problem with markdown ot html whil…

---

## [How to add a div in streamlit without closing it at the same time?](https://discuss.streamlit.io/t/how-to-add-a-div-in-streamlit-without-closing-it-at-the-same-time/80932)

<div class="topic-metadata">

**Author:** [@Vikash](https://discuss.streamlit.io/u/Vikash)\
**Replies:** 3\
**Last updated:** [January 7, 2025, 11:36am UTC](https://discuss.streamlit.io/t/how-to-add-a-div-in-streamlit-without-closing-it-at-the-same-time/80932 "2025-01-07T11:36:13Z")

</div>

I am adding html in streamlit like this import streamlit as st from streamlit.components.v1 import html html('\<div class="Testing"\>) st.write("hello") html('\</div\>"\>) Output Roughly: \<div class="Testing"\>\</div\> \<di…

---

## [Unable to render ipysigma graph](https://discuss.streamlit.io/t/unable-to-render-ipysigma-graph/87920)

<div class="topic-metadata">

**Author:** [@ghavel](https://discuss.streamlit.io/u/ghavel)\
**Replies:** 0\
**Last updated:** [December 18, 2024, 2:23pm UTC](https://discuss.streamlit.io/t/unable-to-render-ipysigma-graph/87920 "2024-12-18T14:23:02Z")

</div>

Repost of the issue here: Ipysigma graph not loading Trying to get a sample graph created in streamlit using the code below: import streamlit as st import streamlit.components.v1 as components import os import networkx…

---

## [Is it possible to use Markdown/Quarto file to create downloadable html files with streamlit app in streamlit cloud?](https://discuss.streamlit.io/t/is-it-possible-to-use-markdown-quarto-file-to-create-downloadable-html-files-with-streamlit-app-in-streamlit-cloud/86589)

<div class="topic-metadata">

**Author:** [@johnsnow09](https://discuss.streamlit.io/u/johnsnow09)\
**Replies:** 3\
**Last updated:** [November 27, 2024, 3:20pm UTC](https://discuss.streamlit.io/t/is-it-possible-to-use-markdown-quarto-file-to-create-downloadable-html-files-with-streamlit-app-in-streamlit-cloud/86589 "2024-11-27T15:20:46Z")

</div>

I already have a streamlit app running on streamlit cloud and I am planning a feature to allow users to download anlaytics / plotly charts and text based html report. Is it possible to use markdown files or quarto or ji…

---

## [Adding a streamlit component into a markdown block](https://discuss.streamlit.io/t/adding-a-streamlit-component-into-a-markdown-block/85839)

<div class="topic-metadata">

**Author:** [@Anish5](https://discuss.streamlit.io/u/Anish5)\
**Replies:** 2\
**Last updated:** [November 18, 2024, 1:18am UTC](https://discuss.streamlit.io/t/adding-a-streamlit-component-into-a-markdown-block/85839 "2024-11-18T01:18:24Z")

</div>

I have a custom markdown block that shows some information like user profile import streamlit as st # Define CSS style st.markdown(""" \<style\> .profile-section { background-color: #f9f9f9; borde…

---

## [Dropdowns in the header is listing options of other dropdowns](https://discuss.streamlit.io/t/dropdowns-in-the-header-is-listing-options-of-other-dropdowns/83282)

<div class="topic-metadata">

**Author:** [@Chetan\_Kumar](https://discuss.streamlit.io/u/Chetan_Kumar)\
**Replies:** 0\
**Last updated:** [October 11, 2024, 5:32pm UTC](https://discuss.streamlit.io/t/dropdowns-in-the-header-is-listing-options-of-other-dropdowns/83282 "2024-10-11T17:32:12Z")

</div>

If you’re creating a debugging post, please include the following info: Are you running your app locally or is it deployed? Deployed If your app is deployed: a. Is it deployed on Community Cloud or another hosting…

---

## [How to move elements to other positions](https://discuss.streamlit.io/t/how-to-move-elements-to-other-positions/68380)

<div class="topic-metadata">

**Author:** [@Vedant](https://discuss.streamlit.io/u/Vedant)\
**Replies:** 14\
**Last updated:** [May 7, 2024, 1:48pm UTC](https://discuss.streamlit.io/t/how-to-move-elements-to-other-positions/68380 "2024-05-07T13:48:02Z")

</div>

Hi! I was wondering if there is a way to move the elements to other positions. I know we can use the custom CSS to move them, But is there any other way to move the elements.

---

## [Adding ids to container or selecting specific using class or test\_ids](https://discuss.streamlit.io/t/adding-ids-to-container-or-selecting-specific-using-class-or-test-ids/68434)

<div class="topic-metadata">

**Author:** [@Vedant](https://discuss.streamlit.io/u/Vedant)\
**Replies:** 0\
**Last updated:** [May 1, 2024, 10:33pm UTC](https://discuss.streamlit.io/t/adding-ids-to-container-or-selecting-specific-using-class-or-test-ids/68434 "2024-05-01T22:33:09Z")

</div>

Hi! I have been trying to do a thing where I need to select a div with its test-id or class name but when I try to access it. There are so many elements with the same class\_name or test-id. I tried everything like using …

---

## [St.markdown() doesn't work for html table expand/collapse rows](https://discuss.streamlit.io/t/st-markdown-doesnt-work-for-html-table-expand-collapse-rows/67914)

<div class="topic-metadata">

**Author:** [@thomvatho](https://discuss.streamlit.io/u/thomvatho)\
**Replies:** 4\
**Last updated:** [April 26, 2024, 3:55am UTC](https://discuss.streamlit.io/t/st-markdown-doesnt-work-for-html-table-expand-collapse-rows/67914 "2024-04-26T03:55:19Z")

</div>

I have an HTML table that can expand/collapse rows, but it doesn’t work when I import to st.markdown() component. Can you help me to fix this? \<!DOCTYPE html\> \<html lang="en"\> \<head\> \<meta charset="UTF-8" /\> \<…

---

## [My image that is in my html file is not showing!](https://discuss.streamlit.io/t/my-image-that-is-in-my-html-file-is-not-showing/66220)

<div class="topic-metadata">

**Author:** [@Dev\_Dhawan](https://discuss.streamlit.io/u/Dev_Dhawan)\
**Replies:** 1\
**Last updated:** [April 4, 2024, 7:07am UTC](https://discuss.streamlit.io/t/my-image-that-is-in-my-html-file-is-not-showing/66220 "2024-04-04T07:07:26Z")

</div>

How the image shows up: Project structure: Here’s my code: title.html: \<!DOCTYPE html\> \<html\> \<head\> \<link rel="stylesheet" href="../assets/css/style.css"\> \<script defer src="https://pyscrip…

---

## [Render HTML tags in st.dataframe()](https://discuss.streamlit.io/t/render-html-tags-in-st-dataframe/65375)

<div class="topic-metadata">

**Author:** [@cortelyou1](https://discuss.streamlit.io/u/cortelyou1)\
**Replies:** 0\
**Last updated:** [March 23, 2024, 5:14pm UTC](https://discuss.streamlit.io/t/render-html-tags-in-st-dataframe/65375 "2024-03-23T17:14:59Z")

</div>

I have a pandas dataframe (search\_results) I’m rendering using st.dataframe: st.dataframe(search\_results, use\_container\_width=True). I’m trying to highlight search terms (taken from a st.input\_text) in the dataframe. T…

---

## [HTML template](https://discuss.streamlit.io/t/html-template/63836)

<div class="topic-metadata">

**Author:** [@Ameen](https://discuss.streamlit.io/u/Ameen)\
**Replies:** 4\
**Last updated:** [March 6, 2024, 8:56am UTC](https://discuss.streamlit.io/t/html-template/63836 "2024-03-06T08:56:02Z")

</div>

Can we use a Jinja HTML template in Streamlit, similar to how we use it in Flask and Django? or else is there any other way of custom styling the streamlit application

---

## [Images stored in folder in github app not displaying](https://discuss.streamlit.io/t/images-stored-in-folder-in-github-app-not-displaying/63734)

<div class="topic-metadata">

**Author:** [@apk2150](https://discuss.streamlit.io/u/apk2150)\
**Replies:** 3\
**Last updated:** [March 5, 2024, 10:28pm UTC](https://discuss.streamlit.io/t/images-stored-in-folder-in-github-app-not-displaying/63734 "2024-03-05T22:28:42Z")

</div>

Hello, I have tried to deploy an app that creates an html table and displays images in the table. The images are in a folder in the github but are not showing up in the table. App: https://icsaburgeeformatter.streamlit…

---

## [Hide the "Running PythonClass.query\_method..." spinner text](https://discuss.streamlit.io/t/hide-the-running-pythonclass-query-method-spinner-text/63385)

<div class="topic-metadata">

**Author:** [@Kladar](https://discuss.streamlit.io/u/Kladar)\
**Replies:** 5\
**Last updated:** [February 28, 2024, 6:11pm UTC](https://discuss.streamlit.io/t/hide-the-running-pythonclass-query-method-spinner-text/63385 "2024-02-28T18:11:08Z")

</div>

Running streamlit apps both in the cloud and locally, and for many input multiselects and dropdowns, I run a query to populate a list of options. However, I get the actual code method displaying while that is happening. …

---

## [St.download\_button with a existent .html file in the actual directory](https://discuss.streamlit.io/t/st-download-button-with-a-existent-html-file-in-the-actual-directory/63269)

<div class="topic-metadata">

**Author:** [@Gabriel21](https://discuss.streamlit.io/u/Gabriel21)\
**Replies:** 1\
**Last updated:** [February 26, 2024, 10:33pm UTC](https://discuss.streamlit.io/t/st-download-button-with-a-existent-html-file-in-the-actual-directory/63269 "2024-02-26T22:33:47Z")

</div>

Hello, everyone I am trying to link a already existent .html file (created by a drift suite that generates a .html file) to a st.download\_button. When i try to load and read the .html file from my directory, the file ap…

---

## [I got the error the image was added in html but loaded in streamlit](https://discuss.streamlit.io/t/i-got-the-error-the-image-was-added-in-html-but-loaded-in-streamlit/63029)

<div class="topic-metadata">

**Author:** [@Ajju](https://discuss.streamlit.io/u/Ajju)\
**Replies:** 0\
**Last updated:** [February 23, 2024, 8:15am UTC](https://discuss.streamlit.io/t/i-got-the-error-the-image-was-added-in-html-but-loaded-in-streamlit/63029 "2024-02-23T08:15:49Z")

</div>

My python code: import streamlit as st import streamlit.components.v1 as components bootstrap 4 collapse example custom\_html = “”" const partsData = { “100,50”: “Headlights”, “200,150”: “Taillights”, “300,2…

---

## [Portfolio App Template - Adding URL Link to Images/Videos](https://discuss.streamlit.io/t/portfolio-app-template-adding-url-link-to-images-videos/61669)

<div class="topic-metadata">

**Author:** [@youngpada1](https://discuss.streamlit.io/u/youngpada1)\
**Replies:** 0\
**Last updated:** [February 6, 2024, 1:53pm UTC](https://discuss.streamlit.io/t/portfolio-app-template-adding-url-link-to-images-videos/61669 "2024-02-06T13:53:13Z")

</div>

Hi fellow nerds, A few months ago I started to look into different ways to create a professional portfolio. I’ve been using Streamlit for over a year, and I decided to use it to display my work experience and programmin…

---

## [Download HTML file from s3](https://discuss.streamlit.io/t/download-html-file-from-s3/50104)

<div class="topic-metadata">

**Author:** [@Ashish\_Kamboj](https://discuss.streamlit.io/u/Ashish_Kamboj)\
**Replies:** 5\
**Last updated:** [February 3, 2024, 4:43pm UTC](https://discuss.streamlit.io/t/download-html-file-from-s3/50104 "2024-02-03T16:43:23Z")

</div>

I have created a Streamlit application and deployed it on Streamlit community cloud. I have added a functionality to download files from s3 (I have html file to download). I have created a button, on clicking of the butt…

---

## [Navigate PISA 2022 Like Never Before: Our Streamlit App Reveals All!](https://discuss.streamlit.io/t/navigate-pisa-2022-like-never-before-our-streamlit-app-reveals-all/58214)

<div class="topic-metadata">

**Author:** [@coder](https://discuss.streamlit.io/u/coder)\
**Replies:** 13\
**Last updated:** [January 10, 2024, 3:53am UTC](https://discuss.streamlit.io/t/navigate-pisa-2022-like-never-before-our-streamlit-app-reveals-all/58214 "2024-01-10T03:53:08Z")

</div>

:bar\_chart: Welcome to the Streamlit Web App for PISA 2022! :globe\_with\_meridians: This application is powered by the amazing elements and libraries of Streamlit. It’s meticulously designed to inspire users of all le…

---

## [Using Visual Studio Code editor as component](https://discuss.streamlit.io/t/using-visual-studio-code-editor-as-component/52219)

<div class="topic-metadata">

**Author:** [@Marcus\_Schiesser](https://discuss.streamlit.io/u/Marcus_Schiesser)\
**Replies:** 8\
**Last updated:** [January 8, 2024, 9:50pm UTC](https://discuss.streamlit.io/t/using-visual-studio-code-editor-as-component/52219 "2024-01-08T21:50:38Z")

</div>

I wrapped the Monaco editor (the one from Visual Studio Code) in a Streamlit component. Source: GitHub - marcusschiesser/streamlit-monaco: Monaco editor (Visual Studio Code) for Streamlit Demo: https://vs-code.stream…

---

## [Want to know how to embed my html code in the streamlit currently facing alignment issue and responsiveness of the webpage with the streamlit](https://discuss.streamlit.io/t/want-to-know-how-to-embed-my-html-code-in-the-streamlit-currently-facing-alignment-issue-and-responsiveness-of-the-webpage-with-the-streamlit/58677)

<div class="topic-metadata">

**Author:** [@KaranT](https://discuss.streamlit.io/u/KaranT)\
**Replies:** 1\
**Last updated:** [January 3, 2024, 5:54am UTC](https://discuss.streamlit.io/t/want-to-know-how-to-embed-my-html-code-in-the-streamlit-currently-facing-alignment-issue-and-responsiveness-of-the-webpage-with-the-streamlit/58677 "2024-01-03T05:54:07Z")

</div>

import streamlit as st from streamlit.components.v1 import html def main(): components.html(""" \<html\> \<head\> \<title\>My App\</title\> \</head\> \<body\> \</body\> \</html\>""",height=1650, width=900) …

---

## [Navigating through pages with custom html elements](https://discuss.streamlit.io/t/navigating-through-pages-with-custom-html-elements/44273)

<div class="topic-metadata">

**Author:** [@Tysmithyyy](https://discuss.streamlit.io/u/Tysmithyyy)\
**Replies:** 2\
**Last updated:** [November 9, 2023, 10:37pm UTC](https://discuss.streamlit.io/t/navigating-through-pages-with-custom-html-elements/44273 "2023-11-09T22:37:49Z")

</div>

Hey everyone, first post here hoping to get some help. I am creating a fairly complex (for Streamlit) app, which include authentication through a custom google oAuth component I found, as well as multiple pages, custom …

[Next page](https://discuss.streamlit.io/tag/html/133.md?match_all_tags=true&page=1&tags%5B%5D=html)
