Thank you Sir for your time and details learning reply.
It worked but still one issue remains.
First Please note below changes made it worked, i don't know if it was the reason:
a) I made the style compose in action sequence before and then html table compose.
b) just copied from your last posting the below line and paste again :
replace(body('Create_HTML_table'),'<table>','<table id="table1">') as had a earlier experience due a space it was not working and was no error.
Now the result in two scenario
Below is the result when in the message view of outlook

Below is the result in the new window:

Now , cannot understand, in new windows it is working fine, but message window it is showing just a box.
Tried to change width percent to 75%, to check it works, still the same issue,
change font etc, nothing worked, still remains same, message window, no formatting but window has proper formatting of the table,
Any idea how to fix this.