Separate html code from php code

for faster page rendering