PHP scripts must be enclosed in delimiters. Option B incorrectly uses as the opening tag, while option A is not valid PHP syntax. The correct opening tag is as the closing tag.
PHP code embedded in an HTML file is wrapped in the tag pair, which tells the server where PHP parsing starts and ends. The other options either use invalid syntax or the tags used for other languages like JavaScript's tag.