Home >> HTML 5 >> How to Embed YouTube Video in HTML 5

How to Embed YouTube Video in HTML 5

Embeded a YouTube video in HTML with following processes -

1)-Upload the video in YouTube which you want to be shown on a web page.

2)-Define an <iframe> element in your web page.

Example

<!Doctype Html>  
<Html>     
<Head>      
<Title>     
Embed a Youtube video  
</Title>  
</Head>  
<Body>   
<iframe height="400" width="300"    
src="URL of Youtube video">   
</iframe>   
</Body>  
</Html>  

Post Your Comment

Next Questions
What is HTML Predefined Tags
What is HTML Predefined Attributes
Comment Tag
DOCTYPE Tag
a Tag
abbr Tag
acronym Tag
address Tag
applet Tag
area Tag
article Tag
aside Tag
audio Tag
b Tag
base Tag
basefont Tag
bdo Tag
bdi Tag
bgsound Tag
big Tag
blockquote Tag
body Tag
br Tag
button Tag
canvas Tag

Copyright ©2022 coderraj.com. All Rights Reserved.