 <p>Add the style import above your existing style, then apply the css rule to whichever element you wish. In this case I applied it to the body. I would also recommend using here strings instead of += as they are far more readable.</p> <pre><code>$a = @" &lt;style&gt; @import url('https://fonts.googleapis.com/css?family=Ubuntu') &lt;/style&gt; &lt;style&gt; BODY{background-color:peachpuff; font-family: 'Ubuntu', sans-serif;} TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;} TH{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:thistle} TD{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:PaleGoldenrod} strong{color: green;} &lt;/style&gt; "@ $b = @" &lt;H2&gt;Service Information&lt;/H2&gt; &lt;p&gt; This is the list of services that are on this system. It dispays &lt;strong&gt;both&lt;/strong&gt; running and stopped services &lt;/p&gt; "@ Get-Service | Select-Object Status, Name, DisplayName | ConvertTo-HTML -Head $a -Body $b | Out-File C:\Scripts\Test.htm Invoke-Item C:\Scripts\Test.htm </code></pre>