I've seen some tutorials, some programs, etc. that mix up content (html in this case) and code (php here). For instance, they would start an IF clause, close the php tags, put in some html, reopen the php tags and close the IF block.
I find this practice bad, because the code and the content...