Home > Web Front-end > H5 Tutorial > body text

A brief introduction to the use of audio tags in HTML5_html5 tutorial skills

WBOY
Release: 2016-05-16 15:46:32
Original
1966 people have browsed it

In HTML5 standard web pages, we can use the audio tag to complete our call and playback of sounds. The following are the three most commonly seen basic formats using HTML5:

1. Minimal code

Copy code
The code is as follows:

< ;audio src="song.ogg" controls="controls">

2. Code with incompatibility reminder

Copy the code
The code is as follows:

The code is as follows:


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!