Error with CSS application

Asked

Viewed 110 times

1

I’m ultilizing to Adobe Brackets for the first time, and I’m applying a style in CSS in a Small "Project" in Html , but unfortunately this not generating results, related to CSS.

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

  • 1

    i never used Adobe Brackets but you don’t have to put the css file reference in <header> of your index.html?

  • I already did this the reference in the line where you have the "Link" . I managed to solve the error, even so thank you :)

1 answer

1


In his second image, which would be the archive main css. has a tag that doesn’t exist:

<stily></stily>

Take her out of the code.

Also, when the file is .css you don’t have to put that tag, that the right one would be <style>.

Another thing, you’re applying a CSS in a h3, but HTML doesn’t have any h3, and yes a h1.

  • Man thank you so much! it worked :) ah , has how to explain this part ! Also, when the file is . css you don’t need to put this tag, that the correct one would be <style> . .

  • When the file is CSS you don’t have to tag it <style>, because you’re already saying that the file is a .css. The tag <stily> does not exist. What is exists is <style>.

Browser other questions tagged

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