What's the better use external css or internal or inline ? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 3

What's the better use external css or internal or inline ?

tell your opinion

21st Jul 2018, 9:59 AM
Abdulelah Ahmed Mohammed Alalaya
Abdulelah Ahmed Mohammed Alalaya - avatar
11 ответов
+ 8
I really just do inline when I'm lazy and the project is sufficiently small. For other cases, external.
21st Jul 2018, 10:12 AM
Hatsy Rei
Hatsy Rei - avatar
+ 24
External is better. It helps to keep HTML clean.
22nd Jul 2018, 4:45 PM
Igor Makarsky
Igor Makarsky - avatar
+ 10
external
21st Jul 2018, 10:04 AM
Khentit Nadji Sabri
+ 5
Probably depends on the project, but external is easier to follow and reusable across multiple pages or even different websites.
21st Jul 2018, 12:10 PM
Duncan
Duncan - avatar
+ 4
I think that the best option is to use external css, because you make the code more readable.
21st Jul 2018, 10:54 AM
Guillem Padilla
Guillem Padilla - avatar
+ 4
If the styling is pretty much unique to the page you are using, use internal. If it is not unique (if it will be used across multiple pages or sites) then you should use external.
22nd Jul 2018, 1:52 PM
🐺Michael🐺
🐺Michael🐺 - avatar
+ 4
I think external css is very comfortable because we can modify the webpage from externally there is no change in html code
23rd Jul 2018, 3:43 AM
Dare$devil
Dare$devil - avatar
+ 4
I'm a fan of keeping things clean. i.e. have separate files for html, css and js.
23rd Jul 2018, 6:31 AM
Haris
Haris - avatar
+ 3
external is pest
22nd Jul 2018, 6:45 AM
Abdulelah Ahmed Mohammed Alalaya
Abdulelah Ahmed Mohammed Alalaya - avatar
+ 3
it really depends on project but i prefer to use external because the code become more readable and you can better adjust bugs😉
22nd Jul 2018, 3:56 PM
salar
salar - avatar
+ 3
Paul Caron A few of your codes seem to have a decent amount of internal CSS in them, just sayin’.
22nd Jul 2018, 5:08 PM
🐺Michael🐺
🐺Michael🐺 - avatar