• How can you make “This is a paragraph.” be inline with one another without using inline-block?

    <!DOCTYPE html>
    <html>
    <head>
    <style>
    p {
        width: 25%;
        margin:0!important;
    }
    </style>
    </head>
    <body>
    
    <p display:block;>This is a paragraph.</p><p display:block;>This is a paragraph.</p>
    <p display:block;>This is a paragraph.</p>
    <p display:block;>This is a paragraph.</p>
    <p display:block;>This is a paragraph.</p>
    
    </body>
    </html>

  • The topic ‘Block > inline block Question : Images’ is closed to new replies.