<embed> - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:embed

Introduction

The embed Element summary

Item value
Element:embed
Local Attributes: src, type, height, width
Contents: None
Tag Style: Void
New in HTML5? Yes
Changes in HTML5 N/A

The following code embedded a video from www.youtube.com.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
   <head> 
      <title>Example</title> 
   </head> 
   <body> 
      <embed src="http://www.youtube.com/v/qzA60hHca9s?version=3" type="application/x-shockwave-flash" width="560" height="349" allowfullscreen="true"> 
       d <!--   www  .  j  a  v  a2 s. co m-->
   </body>
</html>

The src attribute specifies the location of the content.

The type attribute specifies the MIME type of the content.

The width and height attributes determine the size.


Related Tutorials