There is no 'java back function'. Asp.net an java are unrelated, escept for the fact that j# can be used to do asp.net. Java is used for jsp applets and java executable applications. To stop someone from going back just use a session variable to log the page he is on and when the page loads use the session variable to bring up the question he is on. I am assumeing your quiz will be one server side page rather then several and you are keeping the questions in a db, but either way, just log where is is in the db if he has to login, or log where he is inside the session if he does not have to login. Session or a cookie as a matter of fact, if you like cookies more they will work too because it is about the same.
The quizzes link could go right in the html, if it requires a server side scirpt it can still go in the html with the <% code here %> code block. You would be using asp.net to do that session thing I was talking about, that is not a job for html or anything client side.