<!DOCTYPE html> <p>The following two lines should look exactly the same.</p> <div style="font-family: sans-serif; font-size: 1rem"> Text. </div> <div style="font-family: sans-serif; font-size: 1rem"> Text. </div>