<?xml version="1.0" encoding="utf-8"?>

Use the style attribute

Use the style attribute  Bad Practice
Use the style attribute  Best Practice

You can change the font color, size, and typeface of headings and body text alike. In this example, the style attribute is inside the <h1> tag, which means that it modifies the heading, not the body text.

Improve your UX & Product skills with interactive courses that actually work