I believe you have problem with your concept. You want to create user interface with HTML and your application with C++. Which is achievable.
option 1: HTML and C++ code resides in client side-
You can achieve this with MFC. Here is an mfc example
for doing this . Other than MFC you will end up nowhere while trying to develop an HTML parser.
Option 2: Using HTTP,
You can install Apache server in linux os and configure and enable cgi, through which you can process user request and all transactions. In this case your C++ application will run at server and HTML will run at client side.