HTML MediaLesson 52Free preview
HTML Plug-ins
This lesson is part of HTML · All levels
Summary
The <object> and <embed> elements are used to insert external content such as PDF files, images, or additional media into a page. <object> is flexible with data attributes and types, while <embed> is simpler for content that is directly rendered by the browser. Both of these elements become alternatives when content is not supported by in-built media tags.
Key points
- <object> insert external content with data attributes and type
- <embed> to grow additional content in a concise manner
- Both can be used for PDF, audio, or other media
- The elements of the <param> set the property within <object>
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.