Text Box Text To HTML Text Convart and Show in Label

How to create. Text box text to HTML

I need to show in text1 HTML txt from taxt box text. After Barton click

IMG_20221111_170928_982

When button1 clicked
Set label text to textbox text