How Long to load the page?
- Home
- CSS
- How Long to load the page?
How long does is take to load a page?
<html>
<head>
<script><!--
x = new Date()
function cal() {
y = new Date()
diff = y.getTime() -
x.getTime()
alert("It took " +
diff/1000 + " seconds to load the entire page")
}
//--></script>
<body onload=cal()>
Body of the Web Page Goes Here
</body>
</html>
time how long page load javascript speed