Jump to content

How to seperate 2 pictures in same row in Notepad++ (HTML)


Recommended Posts

How to seperate two pictures that are in same row in Notepad++? I don't want them to be merged like this. Our teacher is really bad at explaining things and expect from us to make a website using HTML with minimal knowledge, so asking her isn't one of options... Here is picture of "code" and how it looks when you enter website.

Screenshot_1.png

Screenshot_2.png

Link to post
Share on other sites
  • 2 weeks later...

If you want to separate two pictures in same row the Margin Property allow you to give space between two picture .

Here is the code

<html>
    <head>
        <title>IMAGE</title>
    </head>
    <body>
            <img  src="/image/Screenshot_2.png" alt="old car" style="margin: 10px;width: auto;height:300;" >
            <img src="/image/Screenshot_1.png" alt="car1" style="margin: 10px;width: auto;height:300;" >
    </body>
</html>

 

I hope this will helps you.

 

 

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...