无需 PHP:
<div id="widget14" class="widget widget-124">
<a href="http://website.com/cgames/"><p><span class="hotspot" onmouseover="tooltip.show('<strong>About Us</strong><br/>Learn about us!');" onmouseout="tooltip.hide();"><img class="images_button" alt="About Image" src="http://www.website.com/images/logo.png" width="172px"/><br/>About Us</span></p></a>
</div>
如果它绝对必须是一个变量:
$string = <<<HTML
<div id="widget14" class="widget widget-124">
<a href="http://website.com/cgames/"><p><span class="hotspot" onmouseover="tooltip.show('<strong>About Us</strong><br/>Learn about us!');" onmouseout="tooltip.hide();"><img class="images_button" alt="About Image" src="http://www.website.com/images/logo.png" width="172px"/><br/>About Us</span></p></a>
</div>
HTML;
Heredoc语法
否则你会用反斜杠卡住转义引号。