What you should know here is that <title></title> cannot change from the code behind or from the page declaration if it is not inside the header with runat="server" So, only if you have something:
<head runat="server"> <title>Default Title</title> </head>
you can use it by default and then change it on the pages. If the head is not runat = "server", then the code behind cannot find it to change it, and the default name is displayed.
Everything else is the same as them, I also use the same default header on the main page that I change it from the page if I can, or if the default title is not displayed.
source share