Should you want to add php code directly into html mode and you are a new user beware if you mistype and go back to visual mode you will loose any jscripts you added previously.
if you copy a button and paste it where you think you want. it will paste the button and replace your page.
I'm learning.