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?
3 Respuestas
+ 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.
+ 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 ^^
0
Ok, thank you