What is more efficient and/or what is better practice, to echo the HTML or have many open and close php tags?
php
Obviously for big areas of HTML it is sensible
Whatever you do, don't print XML!
See HOWTO Avoid Being Called a Bozo When Producing XML