The HTML is generated by PHP code. If you want to modify Q2A you should look into creating plugins. You still need to know PHP for that, though.