Microsoft's Visual Studio has some powerful components, and here I use one in a simple HTML editor. It is meant as a VB project for a beginner, or someone learning raw HTML. We can type raw HTML code into the editor, and the equivalent HTML view is shown instantly in another window, with its fonts, layouts etc. Here is a screenshot:
Using a button for each function is unusual - I'm doing this so that you can see every function, and to simplify the creation of an initial version. This is easy to change later, if you wish.
It is intended as a little project for beginners to work on, and enhance. (Yes it does work, and I used it to create this page!). Below, there is a link to my VB code in a txt file. There is no instant gratification of an exe file - sorry!
The main steps are: Create the form, add code to the buttonclick events, add code to the textChanged event..
This causes an update for every character typed, every cut/paste, etc.WebBrowser1.DocumentText = RichTextBox1.Text
To enhance, you might want to: