CSS | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

CSS

what method of CSS is best used as a web developer internal, inline or external

3rd Jul 2018, 12:36 PM
Cyber5
Cyber5 - avatar
5 Answers
+ 2
External is nornally the best practice Cyber5 As it keeps html simple Therefore it is easier to scroll, Find errors etc. Keeps CSS easier to maintain as it is all in one place No need to use <style> Tag in external which saves time and space
3rd Jul 2018, 12:44 PM
Agent
Agent - avatar
+ 1
@Agent sometimes you will have to use inline.. I came across some situation like that
3rd Jul 2018, 12:47 PM
Cyber5
Cyber5 - avatar
+ 1
Why you had to use inline? Just curious cuz I never had to.
3rd Jul 2018, 3:37 PM
damyco
damyco - avatar
0
damyco https://code.sololearn.com/WgEE679WD3QR/?ref=app check this code.. I made an exception to Nigeria without class or id
3rd Jul 2018, 6:35 PM
Cyber5
Cyber5 - avatar
0
It all could be styled in external CSS. Why not using classes or ids? Unless... You are making an HTML email that makes sense then.
3rd Jul 2018, 8:23 PM
damyco
damyco - avatar