HTML-specified image does not appear

Asked 2 years ago, Updated 2 years ago, 44 views

I would like to create a portfolio using AWS and HTML, but I can't see the image even if I write the code below.

<img alt="photo"scr="MovieClub.jpg">

Enter a description of the image here
Enter a description of the image here

Please let me know how to solve it

html aws-cloud9

2022-09-30 19:45

1 Answers

  • <img> tag properties show scr=, but the correct spelling is src=.

  • HTML and images are located in a separate folder, so you can specify the image from portfolio.html.
    You should use the relative path to make the following statement:

    <img src="../photo/MovieClub.jpg" alt="photo">
    

The <img> tag property says scr=, but the correct spelling is src=.

HTML and images are placed in separate folders, so to specify the image from portfolio.html
You should use the relative path to make the following statement:

<img src="../photo/MovieClub.jpg" alt="photo">

There are many other parts that you think are misspelled, so please check the correct spelling by looking at the reference books.

This post was posted as a community wiki based on advice from multiple users in the comments section.


2022-09-30 19:45

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.