CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: how to jpeg image load in HTML ?

  1. #1
    Join Date
    Sep 2016
    Posts
    8

    how to jpeg image load in HTML ?

    can any tell me how to jpeg image load in HTML ?

  2. #2
    Join Date
    Aug 2016
    Posts
    23

    Re: how to jpeg image load in HTML ?

    To load an image in HTML, you need to write following source code:
    <img src="pic.jpg" alt="Pic image" style="width:200px;height:200px;">
    and you also need to paste the image in your project folder otherwise it will not display or you can simply give the path of the image from your system folders like
    <img src="C:\Users\admin\Desktop\Pic1.jpg" style="height:200px;width:100px;">

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)