• in
InterCourses
CoursesBlogs
0
← CSS
○What is CSS?○CSS Selectors●How to Apply CSS○CSS Specificity
○Colors○Backgrounds○Typography
○The Box Model○Display○Positioning
○Advanced Selectors○Pseudo-Classes
○Dropdown Structure○Dropdown Behavior
○Form Structure○Form Styling
○Flexbox Basics○Flexbox Alignment○Flexbox Items○Flexbox Layouts
○CSS Grid
○Website Structure○Grid and Responsive
○CSS Variables○Transitions
○Transition Effects○Keyframe Animation
○Responsive Design
○Table Structure○Responsive Table Styling
○Resume Structure○Resume Polish

How to Apply CSS

CSS can be attached inline, in a <style> block, or by linking an external file.

Your Task

  1. Add inline style to <h1> with any color.
  2. In <style>, set p { font-size: 18px; }.
  3. Link style.css in <head>.
  4. In style.css, set body { background-color: #eef6ff; }.
Hint 1
1 / 3
HINT 1

Inline CSS uses style attribute.

Loading editor…
READY
intercourses
html