<h1 style="color:blue;">A Blue Heading</h1>
      <p style="color:red;">A red paragraph.</p>
      
      Html language logo

      Inline CSS

      An inline CSS is used to apply a unique style to a single HTML element.

      An inline CSS uses the style attribute of an HTML element.

      The following example sets the text color of the <h1> element to blue, and the text color of the <p> element to red:

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.