0

In what part of the list (in notepad++) I need to put CSS code? Under the html code when I will finish html code?

27th Nov 2018, 7:16 PM
Vladimir Dudchenko
Vladimir Dudchenko - avatar
3 Respostas
+ 2
Hi Vladimir! If you know how to put css in a different file that would be even better. But let me answer you first: <!DOCTYPE html> <html> <head> <!-- Some code --> <style> <!-- Your css goes here in head tag --> </style> </head> <!-- Rest of the code --> To learn how to add it in a different file, visit: http://html.net/tutorials/css/lesson2.php And read Method 3.
27th Nov 2018, 7:24 PM
Hamza Alalach
Hamza Alalach - avatar
+ 1
CSS code (<style></style> tags) could go anywhere inside <html></html> content... It's traditionally put inside <head></head> content to get it initialized before the browser start to render the page, but while you don't have very heavy page, that shouldn't make any difference to put the css at start, middle or end of your html code ^^
27th Nov 2018, 7:33 PM
visph
visph - avatar
0
Ok, thank you
27th Nov 2018, 7:28 PM
Vladimir Dudchenko
Vladimir Dudchenko - avatar