From the three types of styling, which one is the most useful in terms of website optimization? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

From the three types of styling, which one is the most useful in terms of website optimization?

Internal, External, Inline? The answer is Externl but why?

13th Oct 2017, 9:07 AM
Eyal
Eyal - avatar
11 Answers
+ 7
This is my experience, I knew only HTML and that was the time I use background and color attribute to color and my fonts and paragraph(pure HTML). Later, a friend helped me and I got to know of CSS. The first thing I did with CSS was background color for body <body style="background:#333">(inline CSS). I had a hard time re-making all the HTML attributes coz some of them were not visible. I started writing in the head tag(internal CSS), and each time I change a background I had to change it in every HTML file (web page). Finally, external CSS made it much easier, one change and all the HTML pages get uniformly changed.
13th Oct 2017, 5:51 PM
Core i9
Core i9 - avatar
+ 5
because it makes the code easier to debug by placing each of them in separate files
13th Oct 2017, 9:16 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 5
External
31st Oct 2018, 7:33 PM
Orkhan Miralayev
Orkhan Miralayev - avatar
+ 1
It also portable, someone can change the look of website by just link to different css file.
13th Oct 2017, 9:19 AM
Calviղ
Calviղ - avatar
+ 1
Thank you all.. Really helped me out
13th Oct 2017, 8:27 PM
Eyal
Eyal - avatar
0
Thank you
26th Nov 2017, 2:26 PM
YASSER EL AMRI
YASSER EL AMRI - avatar
0
Really helps, asanti.
27th Jul 2019, 6:22 AM
Lawrence
0
External
30th Jul 2020, 1:54 PM
MD. SAZZAD HUSSAIN
MD. SAZZAD HUSSAIN - avatar
0
Thank you
31st Oct 2020, 7:49 AM
N.Mageshwari
0
External
9th Nov 2020, 7:29 PM
Ali
Ali - avatar
0
External
27th Aug 2021, 4:01 AM
Madhusha Ravishani
Madhusha Ravishani - avatar