separate html tags from php code