PHP File without PHP Code

I help maintain a website that uses Wordpress as the content management system in addition to using PHP templates. What I find puzzling is that when I looked into some of the files' contents, I could not find any PHP code. Instead the files only had HTML and JavaScript or JQuery. Can a file have a .php extension yet not have any PHP code in it?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Yep, still be processed as a php page but if there is no php code then it doesn't matter
Dave BaldwinFixer of ProblemsCommented:
Definitely Yes.
When you use php you tend to name all your pages .php even if there is no php code (at least I do)
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Ray PaseurCommented:
Sure.  PHP and HTML coexist nicely.  The PHP parse engine simply ignores anything that is not wrapped in <?php ... ?> tags.  So the HTML just flows through.
geeta_m9Author Commented:
So, can I put any web scripting code into a PHP file or is it just limited to HTML and JavaScript or JQuery?
web scripting code
Yes, a php page is parsed at the server where the php is interpreted (only php).  Any client side scripting is ignored as that is for the browser to parse.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
geeta_m9Author Commented:
Ok. Thanks.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Applications

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.