New course! Every coder should learn Generative AI!
Try a free lesson+ 6
Hello! Which is more correct: put the css on the head of an html document using the style tag or do it in other page?
4 Answers
+ 20
the two ways are correct and possible but it is better to put the css in it is own file to make your code clearer, easy for reading ,understanding and reusable too!
+ 9
The better way is to put it in a file ,to make things cleaner
+ 4
The two can be external and internal but the exterior is better only in the view of the page and the view of the code will be good and the interior is also good and not waste time and better than the exterior
+ 3
If you are making multiple pages website then it is better to use external css by making another file. So you can use that file multiple times and for other projects also.