In this tutorial, you will see the use of embed tag of html5. It is used for including external resource in your HTML document. With the help of embed tag, you can add video, audio, or image etc. It is a singleton tag. you can not write any thing in it.
There are following attributes in embed tag:
|src||URL||Address of resource file.|
|height||pixel||height of media.|
|type||type of media||define type of media.|
|width||pixel||define width of media.|
Declaration syntax of embed tag in HTML5.
|<embed src="" type="">|
<!doctype html >|
<title>embed Tag </title>
<p><b>Example of embed tag in HTML5.</b></p>
<embed src="Pick.jpg" height="300" width="300" />
The embed tag is only available in HTML5. It is not available in HTML4.01.
Ask your questions, our development team will try to give answers to your questions.