hello i want to have back button on header . I have used this html
but the problem is , it goes one button (anchors) back and not one page
what can i do thank you !
<html>
<head>
<button onclick=”goBack()”><title>Font Awesome Icons</title>
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
<link rel=”stylesheet” href=”https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css”>
</head>
<body>
<i style=”font-size:24px” class=”fa”></i>
<script>
function goBack() {
window.history.back();
}
</script>
<br>
</body>
</html>