Page 136 - Trackpad_ipro 4.1_Class7
P. 136
<HEAD>
<TITLE>Valley of Flowers</TITLE>
<STYLE>
a:link, a:visited {
BACKGROUND-COLOR: yellow;
COLOR: green;
PADDING: 20px 25px;
TEXT-ALIGN: center;
TEXT-DECORATION: none;
DISPLAY: inline-block;
}
</STYLE>
</HEAD>
<BODY>
<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>
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 to allow users to play, pause and control the media:
Autoplay Attribute: The "Autoplay" attribute is a boolean attribute that plays the video
automatically as soon as the page loads.
Controls Attribute: The "control" attribute allows users to gain control over how the video is
played.
134 iPro (Ver. 4.1)-VII

