
HTML & CSS SKILL #4
Presentation
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Nixon López
Used 1+ times
FREE Resource
10 Slides • 0 Questions
1
HTML & CSS
SKILL #4
2
<img src="image.jpg" alt="This is a picture of a cat.">
Example:
The img element is used to display images on a web page. The src attribute specifies the URL of the image to be displayed. The alt attribute provides alternative text that is displayed if the image cannot be displayed.
img:
Construct and analyze markup that displays images:
3
<picture>
<source src="image.jpg" type="image/jpeg">
<source src="image.png" type="image/png">
<img src="image.svg" alt="This is a picture of a cat.">
</picture>
Example:
The picture element is used to display images on a web page. It is an alternative to the img element that allows you to display different images depending on the device or browser being used.
Picture elements:
4
The img element has the following attributes:
Attributes:
src: The URL of the image to be displayed.
alt: Alternative text that is displayed if the image cannot be displayed.
width: The width of the image.
height: The height of the image.
title: A title for the image.
align: The alignment of the image.
border: The width of the image border.
hspace: The horizontal space around the image.
vspace: The vertical space around the images.
5
<video src="video.mp4" controls></video>
Example:
The video element is used to display videos on a web page. The src attribute specifies the URL of the video to be displayed. The controls attribute displays the video controls, such as the play button, pause button, and seek bar.
video
Construct and analyze markup that plays video and audio:
6
<video src="video.mp4" controls></video>
Example:
The video element is used to display videos on a web page. The src attribute specifies the URL of the video to be displayed. The controls attribute displays the video controls, such as the play button, pause button, and seek bar.
video
Construct and analyze markup that plays video and audio:
7
<audio src="audio.mp3" controls></audio>
Example:
The audio element is used to display audio on a web page. The src attribute specifies the URL of the audio to be displayed. The controls attribute displays the audio controls, such as the play button, pause button, and seek bar.
Audio:
8
<video src="video.mp4" controls>
<track src="subtitles.vtt" kind="subtitles" />
<track src="transcript.srt" kind="transcript" />
</video>
Example:
The track element is used to add subtitles or transcripts to a video or audio. The src attribute specifies the URL of the subtitles or transcript. The kind attribute specifies the type of subtitles or transcript.
Track:
9
<video src="video.mp4" controls>
<source src="video.ogg" type="video/ogg" />
<source src="video.webm" type="video/webm" />
</video>
Example:
The source element is used to specify a video or audio source. The src attribute specifies the URL of the source. The type attribute specifies the type of the source.
Source:
10
<iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ"></iframe>
Example:
The iframe element is used to embed a video or audio from another website. The src attribute specifies the URL of the video or audio to be embedded.
Iframe:
HTML & CSS
SKILL #4
Show answer
Auto Play
Slide 1 / 10
SLIDE
Similar Resources on Wayground
10 questions
Processing
Presentation
•
12th Grade
6 questions
Tuples
Presentation
•
11th - 12th Grade
10 questions
Excel Chart Lesson
Presentation
•
12th Grade
6 questions
I2_S25
Presentation
•
12th Grade
7 questions
Tugas H2 NIRWANA,S.Pd
Presentation
•
12th Grade
7 questions
Beautiful Brains
Presentation
•
12th Grade
8 questions
Fitur Lanjut Browser 9
Presentation
•
12th Grade
9 questions
ICT SKILLS chapter 1
Presentation
•
12th Grade
Popular Resources on Wayground
20 questions
STAAR Review Quiz #3
Quiz
•
8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
6 questions
Marshmallow Farm Quiz
Quiz
•
2nd - 5th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
19 questions
Classifying Quadrilaterals
Quiz
•
3rd Grade
12 questions
What makes Nebraska's government unique?
Quiz
•
4th - 5th Grade
Discover more resources for Computers
20 questions
Grammar
Quiz
•
9th - 12th Grade
31 questions
Easter Trivia
Quiz
•
KG - 12th Grade
16 questions
Circles - Equations, Central & Inscribed Angles
Quiz
•
9th - 12th Grade
46 questions
Unit 4 Geosphere Test Review
Quiz
•
9th - 12th Grade
30 questions
TSI Writing/Revising and Editing Practice Test
Quiz
•
12th Grade
10 questions
Climate Change and Its Impact
Interactive video
•
9th - 12th Grade
35 questions
Venn Diagrams, Theoretical, & Experimental Review
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade