Q:

log out button in html

i have a form and in this there is also a some text boxes and i apply validation like enter enter document name enter description etc and there is also a logout button in upper right corner when i want to logout and click on logout button then it shows me in form that enter document name ,enter description etc ..... i search but i didn;t find any solution ..in form html code which tag i placed in whole form 
like this 
<>(tag which i need )
 here is my html form code
   <>

why this occur?

A:

Add following attribute into your log out button
CausesValidation="false"

like following buton
<asp:Button ID="btnLogout" runat="server" Text="logout" CausesValidation="false"
                            OnClick="btnLogout_Click" />

