Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    notepad doesnt display image

    General Discussion
    5
    5
    7299
    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 Garcia
      Ricardo Garcia last edited by

      I typed in the fight image src, not displaying

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

        please provide an example, you are making little sense.

        1 Reply Last reply Reply Quote 0
        • Jai Kandula
          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.

          PeterJones 1 Reply Last reply Reply Quote 0
          • PeterJones
            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 Prahlad
              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
              Copyright © 2014 NodeBB Forums | Contributors