Using the embed Element

The following code use embed element to display video.

 
<!DOCTYPE HTML> 
<html> 
    <head> 
        <title>Example</title> 
    </head> 
    <body> 
        <embed src="http://www.youtube.com/v/a2_6bGNZ7bA" 
               type="application/x-shockwave-flash" width="560" height="349" 
               allowfullscreen="true"/> 
    </body> 
</html>
  
Click to view this demo.

The src attribute specifies the location of the content. type attribute specifies the MIME type of the content so that the browser knows what to do with it.

The width and height attributes determine the size.

Any other attributes are considered parameters for the plugin, for example allowfullscreen.

Home 
  HTML CSS Book 
    HTML  

Related: