Recommended way to embed PDF in HTML?

前端 未结 24 1999
天命终不由人
天命终不由人 2020-11-21 04:54

What is the recommended way to embed PDF in HTML?

  • iFrame?
  • Object?
  • Embed?

What does Adobe say itself about it?

In my

24条回答
  •  执念已碎
    2020-11-21 05:32

    This is quick, easy, to the point and doesn't require any third-party script:

    
    

    UPDATE (1/2018):

    The Chrome browser on Android no longer supports PDF embeds. You can get around this by using the Google Drive PDF viewer

    
    

提交回复
热议问题