Page 123 - TP_Plus_v2.2_Class_8
P. 123
<H1 STYLE="TEXT-ALIGN: center">Valley of Flowers</H1>
<IMG SRC="Valley_of_Flowers.jpg" ALT="Valley of Flowers" STYLE="BORDER:
4PX SOLID BLACK; HEIGHT: 200PX; WIDTH: 250PX;">
<BR>
<A HREF="https://uttarakhandtourism.gov.in/destination/valley-of-
flowers">Click Here to Visit Official Website</A>
</BODY>
</HTML>
Output
ADDING AUDIO & VIDEO
The HTML5 <audio> and <video> tags allow us to add media (audio and video) to a website. To add
media, we are required to set src attribute to identify the media source and include the controls
attribute so the user can play and pause the media whenever required.
Adding Audio
We use <audio> tag to embed sound content in an HTML document.
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>Audio</TITLE>
</HEAD>
<BODY>
<H1 STYLE="TEXT-ALIGN: center; COLOR: red;">Welcome to the Musical
World</H1>
<P STYLE="TEXT-ALIGN: center;">
<BR>
Images, Links and Frames in HTML5 121

