PHP Devs: Do You Still Inline Your HTML?
The easiest way to understand why HTML and functional code should be separated out is to think of your HTML as another function. Separating out your code into individual functions based on their behavior and use makes obvious logical sense. Learn more here!