Both are wonderful... it depends what code you're using. If you're using ONLY html, then the extension should be .html If you have PHP in your page, you should use .php
It's not really which one is 'good', as opposed to what are you trying to do? PHP will only render itself when the file type is '.php', unless you do some .htaccess work. '.php' file type handles both HTML and PHP (and Javascript, etc.), while the HTML will display any PHP code as just regular text and will not render it, making the PHP functions worthless. But I use '.php' file type regardless of whether its pure HTML or not, just in case I have to go back and add some PHP later on, don't want any unneeded hassles.
can anybody please tell guide me in becoming a web designer. i want to work full time for this profession need help of you people.
You can't select .html or .php extensions of your choice. It all depends on your page contents. If there is PHP code involved in your page than you will have to use .PHP extension and you can't use .HTML even if you want to. Because if you select .HTML extension for the page having PHP code in it, than your PHP code will not be executed. Selecting PHP extension you can run both PHP and HTML codes. PHP code will need a webserver to run and a PHP page can have both HTML and PHP codes at the same time.
Both extension have different meaning. If ur use html extension then ur site is simple not dynamic means not data base connectivity. And if u want to made dynamic site then u use php extension. As per seo point for promotion html website is gud rather than php dynamic sites.
Unless you're thinking of putting PHP code into your site, stick with .html. However, if you want the dynamism that PHP offers and want to add PHP code to your site, .php is a must.