What are some potential pitfalls of using inline styles like font tags in PHP output?

Using inline styles like font tags in PHP output can make the code messy and harder to maintain. It also violates the separation of concerns principle, mixing presentation with logic. To solve this issue, it is recommended to use external CSS files for styling and apply classes to HTML elements in the PHP output.

<?php
echo '<div class="styled-text">Hello, World!</div>';
?>