HTML +css i cant add css to my html code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

HTML +css i cant add css to my html code

hello guys, i am sorry for this Q. but I really Dont know how to add css code to html. Every time I wrote Both code I cant relate them. I would be happy for any answers. Thanks guys!

20th Sep 2016, 7:47 PM
Adam Portes
4 Answers
+ 2
If you are using a external .css archive and linking it to your HTML code, you must put it into the <head></head> tags and set a correct path for the document. You can also insert the code into the head tags, using <style> CODE GOES HERE </style> tags
20th Sep 2016, 7:54 PM
Scotti
Scotti - avatar
+ 1
check the second lesson called "Inline, embedded and External CSS" of the first module Basics
20th Sep 2016, 7:52 PM
Fabricio Bertani
Fabricio Bertani - avatar
+ 1
For external link <head> <link rel="stylesheet"type="text/css"href="mystyle.css"> </head>
1st Dec 2016, 3:40 AM
Sonu Baghel
Sonu Baghel - avatar
0
thank you a lot for help. I found the problem, that problem was in use these keywords í,á etc.
20th Sep 2016, 8:08 PM
Adam Portes