Separate html tags from php