Object and Embed
object and embed include external content such as PDFs. Today iframes, video and audio are used more, but object still works for PDFs with a fallback.
Example
<object data="file.pdf" type="application/pdf" width="260" height="120">
<p>PDF not supported. <a href="file.pdf">Download it</a>.</p>
</object>Exercise
Provide the file.
<object ="file.pdf"></object>
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.