WordPress uses PHP files that get interpreted by the server and then served to the client (your browser). On your browser, when you see a page - right mouse click and choose View Page Source. You will see the HTML code in addition to a host of other code.