What is O. em for?

I'm starting in Django and making some changes to code already written by someone. I noticed that in the Form instead of the usual "/action page" where the data will be submitted, like in this W3Schools example:

<form action="/action_page.php" method="get">
  First name: <input type="text" name="fname"><br>
  Last name: <input type="text" name="lname"><br>
  <input type="submit" value="Submit">
</form>

The action attribute has a dot, why?

<form action="." method="post"> 
Author: Maniero, 2017-02-16

1 answers

This is related to HTML only. The client has to send the form data to some page, and there in action you say which one, by then you already know. If you want to submit to the page itself where is the form you would do how? You can put the full address of the page. Or you can simply put a point that is the same thing.

 7
Author: Maniero, 2017-02-23 13:20:10