<style> element allows you to write CSS code within HTML files, this mixture of HTML and CSS can result in code that is difficult to read and maintain.
It's common for developers to add substantial amounts of custom CSS styling to a web page. When all of that CSS code is placed within a
<style> element in an HTML file, you risk the following two things:
Creating a large HTML file that is difficult to read and maintain (by you and other developers). Overall, this can result in an inefficient workflow.
Maintaining a clear distinction between web page structure (HTML) and web page styling (CSS).