<html>
<head>
<style>
body {
background-image: url('w3css.gif');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center top;
}
</style>
</head>
<body>
<h1>The background-position Property</h1>
<p>Here, the background image will be positioned centered at top.</p>
</body>
</html>