html document does not recognize CSS3 stylesheet

Asked

Viewed 71 times

-2

Hi, guys,

I am learning html and I have stopped because my document does not recognize the course style sheet that I am following. At first I thought it was an error in my code, but it was working perfectly with the style tag, so I realized the problem was in the stylesheet, so I created a new document and copied my old code to it. And really after that, the html document was recognizing my style sheet, but the code that was in it is not the same as what I had written, and the html file didn’t recognize anything that I was writing in this new document. I also deleted the code that was in the stylesheet and wrote mine and the HTML document recognized it until the part that was already working with the previous code and then just stopped recognizing everything I wrote, It’s almost as if it doesn’t matter what I write or erase the code stays the same. Is this a matter of configuration? I’m using Visual Code, I don’t know if it influences anything. There goes the code, it does not work from the /* Fomatação part of images with caption*/

inserir a descrição da imagem aqui

  • If possible share your html with us, please!

1 answer

0

Hello, use the tag link rel="stylesheet" href="estilo2.css" in his head HTML, that might be the problem.

Browser other questions tagged

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