Separate html tags from PHP code