Page 106 - CodePilot V5.0 C7
P. 106
Code Write the HTML code to present the given web page using the <VIDEO> tag to embed
11 video on a web page.
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>Using video tag</TITLE>
</HEAD>
<BODY>
<H2>What is Artificial Intelligence?
</H2>
<VIDEO WIDTH="320PX" HEIGHT="240PX"
CONTROLS AUTOPLAY>
<SOURCE
SRC="Artificial_Intelligence.mp4" Design a small website with
3 pages: Home, About and
TYPE="VIDEO/MP4">
Services. Use internal links
</VIDEO>
(<a>) in the navigation menu
</BODY> to link between each page.
</HTML>
Ask
AGENT
OrangeAI
Construct an HTML document that combines a hyperlink, an image and an audio file.
Study
RAPID RECALL Tick ( ) if you know this.
1. Adding audio and video makes the web page more engaging.
2. The float property allows you to position an image and allows text to wrap around it.
TECH
T ¢ Source (SRC): The attribute used to specify the location of a media file like an image,
E audio or video.
R
M Uniform Resource Locator (URL): The address used to locate a resource on the web.
S ¢
¢ Alternative Text (ALT): Text used as a substitute for an image when the image cannot
be displayed.
104
CodePilot (V5.0)-VII

