Computer 6 Reviewer For ST
Computer 6 Reviewer For ST
HTML Images
<img> Format
- The required alt attribute provides an alternate text for an image, if the user for some
reason cannot view it (because of a slow connection, an error in the src attribute)
- The value of the alt attribute should describe the image:
● If a browser cannot find an image, it will display the value of the alt attribute
- To point to an image on another server, you must specify a full URL in the
src attribute:
All you have to do is right-click on the images selected, then select "Copy Image Address"
- You can use the style attribute to specify the width and height of an image.
- The width and height attributes always define the width and height of the image
HTML Videos
<video> tag
● is used to embed video content in a document, such as a movie clip or other video
streams.
● contains one or more <source> tags with different video sources. The browser will
choose the first source it supports
● There are three supported video formats in HTML: MP4, WebM, and OGG.