首页 > 解决方案 > python烧瓶 ​​- 我怎样才能在身体元素之间腾出更多空间

问题描述

我如何在身体元素之间留出空间,因为目前我的身体元素粘在一起,而我想在它们之间留出更多空间。知道怎么做吗?

这是我的代码:

 <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>

这是我的身体:

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

标签: htmlcss

解决方案


现在尝试一个简单的解决方案作为添加<br/><p></p>元素之间


推荐阅读