Problem when displaying images and icon on website

Asked

Viewed 36 times

0

Good afternoon, I have a problem with the pictures.

  1. image of page icon add the path and the image there is project folder, however the same is not being displayed, this may be some image aspect problem?

  2. final display image I added some image at the end of the code, but it is not being displayed on the page could help me in this code error that I made? I want to understand what I’m doing wrong. inserir a descrição da imagem aqui <

h1 {font-size:80px;
    background-color: rgb(240, 165, 0);
    color: #fafffa;
    text-align: center;
    font-family: "roboto", sans-serif;
    
}
h2 {font-size:50px;
    font-family: "arial", sans-serif;
    
}
<!DOCTYPE html>
<html>

    <head>
        <meta charset"utf-8">
        <title>Evento Meeting empresa</title>

        <link rel="icon" href"logogarrah.png">
        <link rel="stylesheet" href="bio.css">
    </head>

    <body>

        <h1>MEETING 19/07</h1>

        <h2>Regras do participante</h2>

        <p>participantes devem se inscrever para participar do evento</p>
        
        
        
        <h2>Local do evento</h2>

        <p>butantã</p>
        
        <ing src="logogarrah.png" alt="logo garrah"></ing>
        
    </body>
</html>

1 answer

2

WRONG:

<link rel="icon" href"logogarrah.png">

CORRECT:

<link rel="icon" href="logogarrah.png">

WRONG:

<ing src="logogarrah.png" alt="logo garrah"></ing>

CORRECT:

<img src="logogarrah.png" alt="logo garrah" />
  • Tag img has no youthful closure

  • True, I went in the wake of error :)

  • HTML5 also does not have />

  • Strange, I looked there on the Mozilla website and there it is. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img

  • Worth a read https://answall.com/questions/46370/o-certo%C3%A9-br-ou-br-br

Browser other questions tagged

You are not signed in. Login or sign up in order to post.