Built the output detail in HTML encoding