As of HTML5, the widely used and recommended action=""
is invalid HTML.
From the specs:
The action and formaction content attributes, if specified, must have a value that is a valid URL.
So what is the correct way to have the action
attribute point to the current page?
I am currently using
action="<php htmlspecialchars($_SERVER["REQUEST_URI"]); ?>"