9951 explained code solutions for 126 technologies


htmlHow to embed PDF


<embed src="/file.pdf" width="600" height="300" type="application/pdf">ctrl + c
/file.pdf

url to PDF that needs to be embedded

width="600" height="300"

sizes of the block to display PDF

type="application/pdf"

define type to let browser display PDF correctly