<?= is a shortcut for <?php echo, hence everything which would be valid for the echo construct is valid for the short open tag as well, and everything which is not valid is not. See the PHP docs.
Ok I understand. All the Html:: functions and helpers do nothing but returnig a string. So I have to echo that string to get it in my HTML output.
It would be nice to have that information in the docs, or at least a little piece of example code.
Actually it is in the documentation which says “Return type: String”, and the fact that you have to echo or print a string to get it into the output is basic PHP knowledge, or, in other words, you should not expect to get any output from <?php "Hello world!"; ?>.