0% found this document useful (0 votes)
12 views

Mod 3 pdf

Uploaded by

remon.youssef317
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Mod 3 pdf

Uploaded by

remon.youssef317
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Flashcards

Question: What is the purpose of the <video> element in HTML5? Answer: It


allows embedding videos into web pages without using third-party plugins like
Adobe Flash.
Question: Name three formats supported by the <video> element. Answer: MP4,
WebM, and Ogg.
Question: What is the <header> tag used for? Answer: It defines the top of the
web page, similar to a header in a document.
Question: Which <audio> formats are commonly supported by browsers? Answer:
MP3, WAV, and Ogg.

Explain [Concept] in Simple Terms with Examples


Concept: HTML5 <video> Element Explanation: The <video> element is used to
add videos directly to web pages. It can have attributes like controls (to show play
and pause buttons), autoplay (to play automatically), and loop (to repeat the video).
Example:
<video controls width="300">
<source src="video.mp4" type="video/mp4">
<source src="video.webm" type="video/webm">
Your browser does not support the video element.
</video>

What are the Most Important Points I Need to Remember About [Topic]?
Topic: Structural Tags in HTML5
 Structural tags make HTML code more organized and easy to understand.
 Common tags include <header>, <main>, <nav>, <section>, <article>,
<aside>, and <footer>.
 Each tag has a specific purpose, e.g., <nav> is for navigation links, and
<footer> is for page bottom details like copyright information.

Key Terms and Definitions in [Chapter/Topic]


Chapter: Using HyperText Markup Language
 HTML5: The latest version of HTML, focusing on semantic elements and
media embedding.
 <video>: Embeds video files; supports attributes like autoplay, controls, and
loop.
 <audio>: Embeds audio files; supports formats like MP3 and WAV.
 Structural Tags: Tags like <header> and <footer> that define the structure
of a web page.
 Codec: A program that encodes or decodes media files for playback.

Quiz Questions About [Topic]


Topic: HTML5 <video> and <audio> Elements
Question 1: Which of the following is NOT an attribute of the <video> element?
A) Controls
B) Loop
C) Poster
D) Format
Correct Answer: D) Format
Question 2: Which attribute causes a video to start playing as soon as the page
loads?
A) Controls
B) Autoplay
C) Loop
D) Track
Correct Answer: B) Autoplay
Question 3: What file format is NOT supported by the <audio> element?
A) MP3
B) WAV
C) AVI
D) Ogg
Correct Answer: C) AVI
Question 4: What structural tag is used to define navigational links?
A) <nav>
B) <section>
C) <article>
D) <footer>
Correct Answer: A) <nav>

You might also like