You should all know this is inline scripting and is not a good practice at all...with that said you should definitively use Js o Jquery for this type of things:
HTML
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Online Student Portal</title>
</head>
<body>
<form action="">
<input type="button" id="myButton" value="Add"/>
</form>
</body>
</html>
JQuery
var button_my_button = "#myButton";
$(button_my_button).click(function(){
window.location.href='Students.html';
});
Javascript
//get a reference to the element
var myBtn = document.getElementById('myButton');
//add event listener
myBtn.addEventListener('click', function(event) {
window.location.href='Students.html';
});
See comments [why avoid inline scripting][1] and also [why inline scripting is bad][2]
[1]: http://stackoverflow.com/questions/16254821/html-and-javascript-button-onclick-function
[2]: https://www.google.com/search?q=Why%20is%20inline%20js%20bad?#q=Why%20is%20inline%20js%20bad?