Can PHP work without HTML?
The question is about PHP
Answer:
PHP can work without HTML, but in those cases, the usefulness of PHP is very limited. PHP is originally and by default used to generate and manage dynamic HTML content of web pages. In any case, PHP can also be used for command line scripting, generating files through processes like PDF and image generation even just processing some logic at the server side that isn’t necessarily returning any HTML. When it comes to web applications, though, PHP works most efficiently and usefully when it is combined with HTML for the creation of dynamic web content.