Cómo insertar si PHP en HTML

<?php if($condition) : ?>
   <a href=" website_name.com "> it is displayed iff $condition is met </a>
<?php elseif($another_condition) : ?>
   HTML TAG HERE
<?php else : ?>
   HTML TAG HERE
<?php endif; ?>
Rifat