尚硅谷HTML5&CSS3 前端学习笔记04_内联框架_音视频

内联框架

向网页中引入其他网页


<html lang="zh">
<head>
    <meta charset="UTF-8">

    <title>Documenttitle>
head>
<body>

    

    <iframe src="http://qq.com" width="800" height="600" frameborder="0">iframe>
    <h1>helloh1>

    
body>
html>

音视频

对本地服务器没有压力,直接去其他网页中点分享代码地址,复制到页面中。


<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>Documenttitle>
head>
<body>

    
    
    <audio src="./source/Skylar Grey - Everything I Need (歌词版).mp4" controls loop>audio>
   <audio src="./source/Skylar Grey - Everything I Need.ncm" controls>audio>
   

   <audio controls>
       对不起,您的浏览器不支持播放音频!
       <source src="./source/Skylar Grey - Everything I Need (歌词版).mp4"> 
       <embed src="./source/Skylar Grey - Everything I Need (歌词版).mp4" type="audio/mp4" width="300" height="100">
   audio>
   
   <video src="./source/Skylar Grey - Everything I Need (歌词版).mp4" controls>video>
   <iframe frameborder="0" src="https://v.qq.com/txp/iframe/player.html?vid=q0039ysdma8" allowFullScreen="true">iframe>
  
body>
html>

你可能感兴趣的:(前端,html5,css3)