Ways to Use CSS

2 Minutes Free Preview

CSS can be added to a webpage in three ways: inline, internal, and external. Inline styles apply directly to elements, internal styles are written inside a <style> tag, and external styles are written in a separate .css file.

External CSS is the most common and recommended approach.