Title: Hide html content
Last modified: September 4, 2018

---

# Hide html content

 *  [merlinmuenchen](https://wordpress.org/support/users/merlinmuenchen/)
 * (@merlinmuenchen)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/hide-html-content/)
 * On the page, from which the PDF output generated, I have a button “create PDF”
   together with an jpg-image. I want to hide this button on the created PDF document.
   Is there a HTML directive which hides the content in the PDF output – but of 
   coarse not in the html page? Or is ther a different method to solve this problem?
   
   Thanks for support. Perhaps it is a trivial question – I’m rahter a beginner.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhide-html-content%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Hide html content’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-mpdf.svg)
 * [wp-mpdf](https://wordpress.org/plugins/wp-mpdf/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mpdf/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mpdf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mpdf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mpdf/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [merlinmuenchen](https://wordpress.org/support/users/merlinmuenchen/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/hide-html-content/)
 * Status: not resolved