Epidemiology & Technology

Moodle Embed PDFs

IN order to embed PDFs in a Page / lesson use the following tricks

  • First include a download link to the PDF
  • Open the HTML Code view
  • Edit the HTML code as shown below
<div> Download the PDF 
    <a href="https://saral.aiims.edu/draftfile.php/22763/user/draft/843485683/Apr%2024%20-%20Ready_Reckoner_HICC.pdf"> 
       Click Here 
    </a> 
</div>
<br>


<div "style="width=95%">
  <embed 
    src="https://saral.aiims.edu/draftfile.php/22763/user/draft/843485683/Apr%2024%20-%20Ready_Reckoner_HICC.pdf" 
    width="100%" height="600px" />
</div>
<br>


Code language: HTML, XML (xml)

iFrame method did not work


<div "style="width=95%">
<iframe width="100%" height="600px" 
src="https://saral.aiims.edu/draftfile.php/22763/user/draft/843485683/Apr%2024%20-%20Ready_Reckoner_HICC.pdf"
frameborder="0" allowfullscreen> 
</iframe>
</div>
<br>Code language: HTML, XML (xml)

Related posts