HTML Multimedia(Recommended learning: HTML Introduction Tutorial)
Multimedia on the Web refers to sound effects and music , videos and animations.
Modern web browsers already support many multimedia formats.
What is multimedia?
Multimedia comes in many different formats. It can be anything you hear or see, text, pictures, music, sound effects, recordings, movies, animations, etc.
On the Internet, you will often find multimedia elements embedded in web pages, and modern browsers already support a variety of multimedia formats.
In this tutorial, you will learn about different multimedia formats and how to use them in your web pages.
Browser Support
The first Internet browsers only supported text, and even support for text was limited to a single font and a single color. Then came browsers that supported colors, fonts, and text styles, and image support was added.
Different browsers handle support for sound effects, animation, and video in different ways. Some elements can be processed inline, while others require additional plugins.
Multimedia formats
Formats Multimedia elements (such as video and audio) are stored in media files.
The most common way to determine the media type is to look at the file extension. When a browser gets a file extension of .htm or .html, it assumes that the file is an HTML page. The .xml extension indicates an XML file, while the .css extension indicates a stylesheet. The image format is identified by .gif or .jpg.
Multimedia elements also have file formats with different extensions, such as .swf, .wmv, .mp3 and .mp4.
Note: The latest HTML5 standard only supports MP4, WebM, and Ogg video formats.
Sound format
MP3 is an audio compression technology, its full name is Moving Picture Experts Group Audio Layer III, short for for MP3. It is designed to significantly reduce the amount of audio data. If your site is of music type, you can choose mp3 format.
The above is the detailed content of What is HTML media (Media). For more information, please follow other related articles on the PHP Chinese website!