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.
    • Ricardo GarciaR
      Ricardo Garcia
      last edited by

      I typed in the fight image src, not displaying

      1 Reply Last reply Reply Quote 0
      • Kasper GraversenK
        Kasper Graversen
        last edited by

        please provide an example, you are making little sense.

        1 Reply Last reply Reply Quote 0
        • Jai KandulaJ
          Jai Kandula
          last edited by

          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.

          PeterJonesP 1 Reply Last reply Reply Quote 0
          • PeterJonesP
            PeterJones @Jai Kandula
            last edited by

            @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
            • Makwana PrahladM
              Makwana Prahlad Banned
              last edited by

              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