If you don’t know what I am talking about, you certainly don’t have the skills to create a PHP form. I recommend learning PHP, or just grabbing a template like what I linked below:
then make a simple html like me in which you will use mailto:
where your address will be written where users can contact you
that’s much better than some form !
in which I can’t even insert pictures and is limited by the number of chars, etc.
in addition, mobile users, as well as desktop, are used to their email client
and it’s easier for them to write an email that way than to deal with your form
so in short… forget about PHP and the contact form
rather, you specify an email address that opens automatically their email client when someone taps or clicks on it
of course it can also work in PHP (it’s html inside php)
javascript and html are executed in the user’s browser
But please use Google in the future, because from the original question you asked a bunch of sub-questions, which no longer has anything to do with the topic or hosting.
Now you ask questions how do you create a website?