Question · HTML and CSS course · Module 3: CSS Basics

Ways to Add CSS

How can you add a CSS style to an HTML element?

Answer options

  • Using the style="" attribute
  • Using an external CSS file
  • Using a <style> tag in HTML
  • All of the above

You can check the correct answer by solving this task in the CodeWorlds game.