Adding Inline Styles - Exercise

Contact Us or call 1-877-932-8228
Adding Inline Styles - Exercise

Adding Inline Styles

Duration: 10 to 20 minutes.

In this exercise, you will add some inline styles to the page you have been working on.

  1. Open CrashCourse/Exercises/LinkedStyleSheet.html and save it as InlineStyles.html.
  2. Add an inline style to the table data cell containing the word "Braves". The style should contain the following property-value pairs:
    • font-style: italic;
    • color: #ff0000;
  3. Add an inline style to the table data cell containing the word "Yankees". The style should contain the following property-value pairs:
    • font-style: italic;
    • color: #000033;
  4. Add inline styles to the table data cells containing the word "Giants". The style should contain the following property-value pairs:
    • font-style: italic;
    • color: #cc3300;
  5. Open InlineStyles.html in a browser. It should look like this:Home Run Record Table
Next