When you decide to use CSS, it is best to use and keep your CSS file separate from HTML. Doing that will give you the chance to see the difference between the content and design (CSS). External CSS contains just CSS code and is being saved in file extension. After that the CSS file is being referenced into your HTML just using <link> and not <style>. The following tutorial will explain everything for you.
