Home Tutorials HTML Tutorial embed Element
embed Element

embed Element


39. embed Element

The <embed> element can be used to embed external content such as PDFs or media resources. It appears in many practical HTML tutorials for document display.

Syntax

<embed src="file.pdf" type="application/pdf" width="500" height="400">

Example

<embed src="notes.pdf" type="application/pdf" width="500" height="300">

Output

A PDF viewer area appears inside the page if the browser supports it.
Example

🏋️ Test Yourself With Exercises

Take our quiz on embed Element to test your knowledge.

Browse Quizzes »