<?= $name ?> is my preferred method of printing inline, which shortens it up quite a bit.
<?= h($name) ?>
The PHP developers don't make this easy though, as "short tags" are officially recommended to be disabled, so to write portable PHP you'd have to do
<?php= h($name) ?>
<?= $name ?> is my preferred method of printing inline, which shortens it up quite a bit.