There are three methods to read the HTML code in WFD.
There is a tool called Embedded Object Area through which we can read the HTML codes.
We have to just copy and paste the codes in the content tab of Embedded Object Area Tool and change the object type to HTML.
The HTML codes can be read through changing the Colorant value to HTML for the codes pasted in layout. The change of Colorant is been highlighted in the following screen shot.
HTML can be also read by Template Merger, The HTML codes have to be pasted at flowing given position which is mentioned in the screen shot.