render pdf js html code example Example: html js display pdf file <embed src="file_name.pdf" width="800px" height="2100px" />