python flask – how can i make more space between body elements

Issue

How can i make space between body elements becuse currently my body elements stick together while i want to make more space between them. Any idea how to do it?

This is my code:

 <body>
<center>
    <ul>
        <img src= 'https://lh3.googleusercontent.com/KzsnZEOFwcLfeNI6MBaAjK5_wca3NKmttsV7X7RxmH2HjomcuONuBj1rSEBdfQSeJ6M' style= 'width:120px;height:100px;'>
    
        <h3><p style="color:white ">Youtube to MP4 converter</p></h3>

        <form method = 'POST'>
            <input name = 'input' type= 'text' placeholder = 'Insert video link here:' >
        </form>

        <h3><p style="color:white ">Best Youtube to MP4 converter</p></h3>
    </ul>
</center>

</body>

and here is my body:

body {
        background: url('https://wallpaperaccess.com/full/1567666.png'); 
        display: compact; 
        background-size: 100%;" 
        background-repeat:no-repeat;
    }

Solution

The quickest but not most efective solution is just by adding a cuple of empty <p></p> or <h1></h1> elements.

Answered By – gasper_vaupot

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published