If you used publishing infrastructure in Sharepoint then you probably know OTB EditModePanel control defined in Microsoft.SharePoint.Publishing.dll assembly. Using this control you can define what content on your publishing page should be shown only in edit mode:
In this example everything inside EditModePanel will be shown only when user modifies page. In view mode it will not be shown.
Unfortunately there is no similar OTB ViewModePanel which shows content only when page is running in view mode, i.e. when user views the page. So I investigated code of OTB EditModePanel via Reflector and created following control:
Now we are able to specify it in layout of publishing pages:
and all content between begin and end tags will be shown only in view mode.