dcsimg
www.webdeveloper.com
Results 1 to 5 of 5

Thread: Image error

  1. #1
    Join Date
    May 2017
    Posts
    4

    Image error

    Hello,

    My image isn't displaying on google chrome browser. What could be the problem?

    <!DOCTYPE html>
    <html lang="en">

    <head>
    <meta charset="utf-8">
    <title>Justin Beaver Fascinated by HTML</title>
    <link rel="stylesheet" href="main.css">
    </head>

    <body>
    <article>
    <header>
    <h1>Justin Beaver: Ever since I have learned HTML, my life has taken a complete 180</h1>
    <p>Poster by: Damian Wielgosik</p>
    </header>
    <p>Justin Beaver confessed something that even his greatest fans would have never expected of the skilled musicians and lyricist. The young rock-and-roller admitted that since he typed his first title tag, his life became easier. It has been reported by those surrounding the Canadian that Beaver's private mentors, Ryan Loseling and Nicolas Crate, often walk around Los Angeles disputing what a great tool the HTML validator is.</p>
    <figure>
    <img src="Arsenal.png" alt="Arsenal Logo">
    <figcaption>Justin Beaver's happy cat</figcaption>
    </figure>
    <p>Beaver has already created some websites and does not intent to stop there,
    <q>I will probably have a song about HTML on my next album,</q> - the artist added.
    </p>
    </article>
    </body>
    </html>

  2. #2
    Join Date
    May 2016
    Location
    Southern California
    Posts
    80
    Where is the image stored? Is it in an images directory? Right now your code is looking for it in the root directory.

  3. #3
    Join Date
    May 2017
    Posts
    4
    The current image is stored on my desktop.

  4. #4
    Join Date
    Jan 2004
    Location
    chertsey, a small town s.w. of london, england.
    Posts
    1,799

    Quote Originally Posted by TheMagicalForce View Post
    The current image is stored on my desktop.
    And where is your HTML file stored?

    coothead
    ~ the original bald headed old fart ~

  5. #5
    Join Date
    May 2017
    Posts
    1
    I think in your code. your code is looking for pictures in the same folder with html file. So if you put the picture in your desktop and your desktop don't include your html file. you should check

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles