<div class="headline">
<h1 class="headline">
How to Justify a Headline With CSS
<span class="headline"> Tweak a single line into justifying </span>
</h1>
</div>

Will it work this time? Well, let’s take out the line breaks in the above HTML so that’s all run together and we’ll see…

How to Justify a Headline With CSS Tweak a single line into justifying

It worked!

Besides allowing you to justify a single line of text (such as a headline), this includes a browser-hidden-but-seo-visible line (or more?) that says, in this case, “Tweak a single line into justifying”!

And all it takes to achieve this SEO-enhanced headline justification is only a div, an h1, and a span.