HTML | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
- 4


Hello can you tell me that in web style making HTML is best or css .

2nd Jun 2022, 12:22 AM
Abinash Saikia
Abinash Saikia - avatar
3 Réponses
+ 4
Putting your CSS in the style tag is okay for practice. But as projects get bigger it is better to put your CSS in a separate style.css document. So that your HTML isn't cluttered.
2nd Jun 2022, 12:25 AM
Chris Coder
Chris Coder - avatar
+ 2
Just to add onto what Chris Coder , especially if you have more than one HTML file, you don't want to keep having to copy and paste over your CSS. You would be able to just link multiple HTML file to the same CSS which makes you pages easier to debug.
2nd Jun 2022, 12:30 AM
Justice - avatar
2nd Jun 2022, 12:32 AM
Abinash Saikia
Abinash Saikia - avatar