Style sheet vs style inside element block<> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Style sheet vs style inside element block<>

I notice a lot of web source code has mode style inside the block<> instead of the style sheet .css is this a faster and better way to code a Web site?

12th Jun 2019, 11:18 AM
Dick Tracy
Dick Tracy - avatar
3 Answers
+ 14
Never use inline css. Always try to use external stylesheet.
12th Jun 2019, 12:06 PM
Mitali
Mitali - avatar
+ 6
https://code.sololearn.com/Wq7CSp6Eq7sp/?ref=app. here's an explanation of inline vs embedded vs external css, the pros and cons.
12th Jun 2019, 12:26 PM
Lisa F
Lisa F - avatar
+ 2
No, you should always separated your css styles, for better webpage styling options.
12th Jun 2019, 11:22 AM
CalviÕ²
CalviÕ² - avatar