I can not add an image in html

-3

I'm starting to learn HTML and I'm trying to insert an image as explained in the course but it does not work, either save the image in the server folder in the .jpg format as explained but when running in Chrome I only the damaged image icon appears.

<html>

<head>

<title>Pagina 1</title>

</head>

<body>

<h1>Bienvenidos a pagina 1<h1>

<img src="IMG_20180901_153721_764"/>

</body>
</html>
    
asked by Jordan J. Vega 11.11.2018 в 04:17
source

1 answer

0

It's simple depends on how your server is, it would be good to place more information to help you better Assuming that your HTML file and the image is located in the path "/" of the server is a simple one and if a different route you could place the full path

<img src="IMG_20180901_153721_764.jpg"/>

here the url of an image link and below how to place it

<img src="https://www.w3schools.com/html/pic_trulli.jpg"/>
    
answered by 11.11.2018 в 05:26