• Login
Community
  • Login

notepad doesnt display image

Scheduled Pinned Locked Moved General Discussion
5 Posts 5 Posters 9.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    Ricardo Garcia
    last edited by May 21, 2016, 12:53 AM

    I typed in the fight image src, not displaying

    1 Reply Last reply Reply Quote 0
    • K
      Kasper Graversen
      last edited by Jun 4, 2016, 7:32 PM

      please provide an example, you are making little sense.

      1 Reply Last reply Reply Quote 0
      • J
        Jai Kandula
        last edited by Aug 16, 2020, 8:44 PM

        Notpad++ is not displaying image even though code is correct.
        try this one:
        <img scr=“Valorant-Ann_03-02-20.jpg” alt=“Valorant pic” width=“600” height=“337”>
        paste is into notepad++ and you will see that it does not anything except show the alternative.

        P 1 Reply Last reply Aug 16, 2020, 8:56 PM Reply Quote 0
        • P
          PeterJones @Jai Kandula
          last edited by Aug 16, 2020, 8:56 PM

          @Jai-Kandula ,

          Notepad++ does not natively render HTML. Do you mean when you create an HTML file with the code you showed using Notepad++, that opening that HTML in a browser (like chrome) does not display the image? if that’s what you mean, it’s probably because the image file isn’t in the same folder as the HTML file, and the browser thus cannot find the image. (Alternately, if what you showed above is a copy/paste of your exact code, then you have scr= when you should have src=)

          Please note, however, that none of these answers depend on what editor you are using to type your HTML, so it’s really a not a topic for this forum. We call this a “cookie baking” question (and you can get a better idea for why “cookie baking” questions are inappropriate by following this link: https://community.notepad-plus-plus.org/topic/15958/faq-desk-you-ve-asked-your-question-in-the-wrong-place)

          1 Reply Last reply Reply Quote 2
          • M
            Makwana Prahlad Banned
            last edited by Aug 17, 2020, 6:42 AM

            Hello,@Ricardo-Garcia
            Please try this code,To notepad doesnt display image

            <!DOCTYPE html>
            <html>
              <head>
              </head>
              <body>
                <section>
                  <img src="img/vietnam.jpg" alt="vietnam">
                </section>
              </body>
            </html>
            

            I hope this code will be useful for you.
            Thank you.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors