Hi makenzi.exc,
The setTimeout method calls a function after a number of milliseconds.
Refer below example.
HTML
<html>
<head>
<meta charset="utf-8" />
<title></title>
<style type="text/css">
body { font-family: Arial; font-size: 10pt; }
</style>
</head>
<body>
<label id="lblMessage"></label>
<script type="text/javascript">
window.onload = function () {
setTimeout(function () {
// Display message after 3 seconds.
document.getElementById("lblMessage").innerHTML = "Welcome to ASPSnippets."
}, 3000);
};
</script>
</body>
</html>
Demo
Screenshot

Downloads
Download Sample