Question

Is there any difference beween:

<form action="">

... and:

<form action=".">

?

Was it helpful?

Solution

empty string normally indicates current url (e.g., http://example.com/a/test.html)
'.' - current 'directory' (e.g., http://example.com/a/)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top