When I start building a site that will require both HTML and PHP, should I create a .html file with PHP in it (as in a file, say, index.html, but there will be different tags inside it)? Or should I make .php files and just include HTML in it (like in a file, say index.php, and it will start as PHP, and I just tweak the HTML)?
TL DR: Should I bind HTML to .php files or bind PHP to .html files?
source share