Streamlit

Streamlit Home

Install

layouts


import streamlit as st

# Define your HTML content with heading 1 and paragraph elements
html_content = """
<h1>This is a Heading 1</h1>
<p>This is a paragraph.</p>
<h1>Another Heading 1</h1>
<p>Another paragraph.</p>
"""

# Display the HTML content in Streamlit
st.markdown(html_content, unsafe_allow_html=True)