Skip to content

Simple Dev

  • Topics
  • Path
  • Features
  • Feedback
  • Log In
  • Sign Up

Simple Dev

Simple Dev

Simple coding tutorials
  • Topics
  • Path
  • Features
  • Feedback
  • Log In
  • Sign Up
Topic: CSS Basics

Inline styles – CSS

  • October 22, 2019October 17, 2020

Preview

To create inline styles, use the style attribute on an HTML element:

<p style="color:red;">Paragraph text with a style attribute.</p>

To view the full tutorial, sign up for a free trial on our Sign Up page.

Sign Up

Previous
Internal stylesheet – CSS
Next
Custom properties/CSS variables – CSS

Related

  • Internal stylesheet – CSS
  • Inline styles – CSS

© 2018-2021 Javier Alvarado