Menu publishing error in photo gallery maker

Q: I am trying to import code into an HTML page. I follow publish instructions , after clicking insert and publish , it gives me a menu publishing error. What am I doing wrong?

A: You can get message "Menu publishing error" if you use incorrect page layout.

Please, check if all tags are closed.