You cannot do this with a 'pure' database client like SQLyog. It is NOT a browser! It simply dispays the content of the database!
This you should be code in HTML (or some HTML preprocessor language like PHP, ASP etc.). Still however you as the admin can use SQLyog for managing the database.
Every browser has an option to display the source of a webiste. It is normally in the 'edit' menu. Try this with the page that you refer to here (and search for 'Download')!