From #1016 (comment):
page_opts(title=...) won't handle Tag/TagList values for title as well as we do in other places. For example, this will put <h6>Title</h6> on the browser tab (i.e., <title>):
from shiny.express import ui
ui.page_opts(title=ui.h6("Title"))
Whereas, this will actually extract the string, so that the tab says Title, not <h6>Title</h6>
import shiny.express
from shiny.ui import panel_title
panel_title(ui.h6("Title"))