CSS Background Attachment Property
Full Stack Web Development Courses with Real-time projects Start Now!!
Program 1
<html>
<head><title>First CSS Page</title>
</head>
<body>
<A href="https://data-flair.training/" title="Data Flair Web Site"> Click Here</A>
</body>
</html>Program 2
New! Keyboard shortcuts … Drive keyboard shortcuts have been updated to give you first-letters navigation
<html>
<head><title>Box Image Demo</title>>
<style>
body
{
background-color: antiquewhite;
}
#container
{
width: 600px;
height: 500px;
padding: 50px;
border-color: red;
border-style: double;
background-image: url("dog1.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
</style>
</head>
<body>
<div id="container">
Python is a General Purpose object-oriented programming language, which means that it can model real-world entities. It is also dynamically-typed because it carries out type-checking at runtime.
Python is a General Purpose object-oriented programming language, which means that it can model real-world entities. It is also dynamically-typed because it carries out type-checking at runtime.
Python is a General Purpose object-oriented programming language, which means that it can model real-world entities. It is also dynamically-typed because it carries out type-checking at runtime.
Python is a General Purpose object-oriented programming language, which means that it can model real-world entities. It is also dynamically-typed because it carries out type-checking at runtime.
Python is a General Purpose object-oriented programming language, which means that it can model real-world entities. It is also dynamically-typed because it carries out type-checking at runtime.
Python is a General Purpose object-oriented programming language, which means that it can model real-world entities. It is also dynamically-typed because it carries out type-checking at runtime.
Python is a General Purpose object-oriented programming language, which means that it can model real-world entities. It is also dynamically-typed because it carries out type-checking at runtime.
Python is a General Purpose object-oriented programming language, which means that it can model real-world entities. It is also dynamically-typed because it carries out type-checking at runtime.
</div>
</body>
</html>
Your opinion matters
Please write your valuable feedback about DataFlair on Google

