<!DOCTYPE html> | |
<style> | |
body { | |
height: 2000px; | |
width: 2000px; | |
} | |
#fragment { | |
position: absolute; | |
top: 800px; | |
background-color: #faa; | |
display: block; | |
height: 100px; | |
width: 100px; | |
} | |
</style> | |
<body> | |
Page with fragment | |
<a id="fragment" name="fragment" class='box'></a> | |
</body> |