Padding in CSS

Full Stack Web Development Courses with Real-time projects Start Now!!

Program 1

<html><head><title>Peding Demo</title>
    <style>
        .display
        {
            border:2px;
            border-color: red;
            border-style: double;
            border-width: thick;
            
            padding-top: 10px;
            padding-right: 15px;
            padding-bottom: 30px;
            padding-left: 20px;

            padding: 10px 25px 70px 20px;

        }
    </style>
</head>
<body >
    <div class="display">
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.It does so to make sure that the type of construct matches what we expect it to be.The distinctive feature of Python is that it is an interpreted language.The Python IDLE (Integrated Development Environment) executes instructions one line at a time. This also lets us use it as a calculator.Guido van Rossum named it after the comedy group Monty Python. That is why the metasyntactic variables 
(those we will often use to explain code syntax) 
<div>


</body>
</html>

 

Did we exceed your expectations?
If Yes, share your valuable feedback on Google

courses

DataFlair Team

DataFlair Team provides high-impact content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. We make complex concepts easy to grasp, helping learners of all levels succeed in their tech careers.

Leave a Reply

Your email address will not be published. Required fields are marked *