I have no idea why people recommend to mix PHP and HTML like this:
I often do this:
Let’s not talk about PHP short echo syntax or indentation here. It might look more readable but, personally, the recommended style have two problems:
Increases page size with redundant whitespaces if rendered pages are not minified. Even if minified, it needs extra processes on the back-end.
Confuses front-end developers with anonymous whitespaces.
Now, it’s impossible to remove the whitespace between the text box and the submit button properly with CSS alone. Negative left margin, huh?