1月12日,HTML学习笔记2
妈蛋,这两天看HTML看上瘾了,感觉这玩意有点简单,反馈期太短了,我的python都荒废了/(ㄒoㄒ)/~~。
不多说了,把记录贴上来,到时过几天再拿出来整理一下,写上注释,顺便当做复习
去研究css了,python等我!我不会忘记你的!
<head>
<meta http-equiv="Content-Type" content="text/html; charset="gb2312"/>
<meta http-equiv="Content-Language" content="zh-cn"/> <title>标题不会显示在文档区</title>
</head> <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<meta http-equiv="Content-Language" content="zh-cn"/> <base target="_blank"/>
</head> <body>
<p>
<a href="http://www.w3school.com.cn" target="_blank">这个链接</a>
将在新窗口加载,因为target属性被设置为”_blank“。
</p> <p>
<a herf="http://www.w3school.com.cn">这个链接</a>
也将在新窗口加载,及时没有target属性。
</p>
</body>
</html> <html> <head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/> <meta name="author" content="w3school.con.cn"/> <meta name="revised" content="David Yang, 8/1/07"/> <meta name="generator" content="Dreamweaver 8.0en"/> </head> <body>
<p>本文档的meta属性标识了创作者和编辑软件</p>
</body> </html> <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/> <meta name="description" content="HTML examples"> <meta name="keywords" content="HTML, DHTML, CSS, XML, XHTML, Javacript, VBScript"/> </head>
</html> <!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<meta http-equiv="Refresh" content="5; url=http://www.w3school.con.cn"/>
</head> <body>
<p>对不起。我们已经搬家了。您的URL是<a href="http://www.w3school.com.cn">
http://www.w3school.com.cn/</a>
</p> <p>您将在5秒内被重定向到新的地址。</p>
<p>如果超过5秒后您仍然看到本消息,请点击上面的链接。</p>
</body>
</html> <head>
<title>Title of the document</title>
</head> <head>
<base href="http://www.w3school.com.cn/image/"/>
<base target="_blank"/>
</head> <head>
<link rel="stylesheet" type="text/css" herf="mystyle.css"/>
</head> <head>
<style type="text/css">
body {background-color:yellow}
p {color:blue}
</style>
</head> <body>
<script type="text/javescript">
document.write("<h1>Hello World!</h1>")
</script>
</body> <body>
<script type="text/javescript">
document.write("hello world!")
</script>
<noscript>Sorry, your browser does not support JaveScript.</noscript>
</body> <script type="text/javascript">
<!--
document.write("hello world!")
//-->
</script> <body><!-- QuickTime播放Wave音频//-->
<object width="420" height="360"
classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www/apple/com/qtactivex/qtplugin.cab">
<param name="src" value="/i/bird.wav"/>
<param name="controller" value="true"/>
</object>
</body> <body><!--QuickTime播放mp4视频//-->
<object width="420" height="360"
classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www/apple/com/qtactivex/qtplugin.cab">
<param name="src" value="/i/movie.mp4"/>
<param name="controller" value="true"/>
</object>
</body> <body><!--Flash播放SWF视频//-->
<object width="400" height="40"
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="SRC" value="bookmark.swf"/>
<embed src="/i/bookmark/swf"></embed>
</object>
</body> <!DOCTYPE html><!--用windows media player来播放WMV影片//-->
<html>
<body> <object width="100%" height="100%"
type="video/x-ms-asf" url="/i/3d.wmv" data="3d.wmv"
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
<param name="url" value="3d.wmv"/>
<param name="filename" value="3d.wmv"/>
<param name="autostart" valu="1"/>
<param name="uiMode" value="full"/>
<param name="autosize" value="1"/>
<param name="playcount" value="1"/>
<embed type="application/x-mplayer2" src="/i/3d.wmv"
width="100%" height="100%" autostart="true"
showcontrols="true" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/">
</embed>
</object> </body>
</html> <embed height="100" width="100" src="/i/horse.mp3"></embed> <object height="100" width="200" data="/i/horse.mp3"></object> <!DOCTYOE html>
<html>
<body>
<audio controls="controls">
<source src="/i/song.ogg" type="audio/ogg"/>
<source src="/i/song.mp3" type="audio/mpeg"/>
Your browser does not support the audio element.
</audio>
</body>
</html> <audio controls="controls">
<source src="/i/song.ogg" type="audio/ogg"/>
<source src="/i/song.mp3" type="audio/mpeg"/>
<embed height="100" width="100" src="/i/song.mp3"/>
</audio> <body>
<p><a href="/i/song.mp3">播放MP3</a></p>
<p><a href="/i/bird.wav">播放wav</a></p>
<script type="text/javascript" src="http://mediaplayer.yahoo.com/js"></script>
</body> <body>
<video width="320" height="240" controls="controls"
autoplay="autoplay">
<source src="/i/movie.ogg" type="video/ogg"/>
<source src="/i/movie.mp4" type="video/mp4"/>
<source src="/i/movie.webm" type="video/webm"/>
<object data="/i/movie.mp4" width="320" height="240">
<embed width="320" height="240" src="/i/movie.swf"/>
</object>
</video>
</body> <embed width="320" height="240" src="/i/bookmark.swf"/> <object width="320" height="240" data="/i/bookmark.swf">
</object> <video width="320" height="240" controls="controls"
autoplay="autoplay">
<source src="/i/movie.ogg" type="video/ogg"/>
<source src="/i/movie.mp4" type="video/mp4"/>
<source src="/i/movie.webm" type="video/webm"/>
</video> <video width="320" height="240" controls="controls"
autoplay="autoplay">
<source src="/i/movie.ogg" type="video/ogg"/>
<source src="/i/movie.mp4" type="video/mp4"/>
<source src="/i/movie/webm" type="video/webm"/>
<object data="/i/movie/mp4" wideth="320" height="240">
<embed width="320" height="240" src="/i/movie.swf"/>
</object>
</video> <embed src="http://player.youku.com/player.php/sid/XMzI2NTc4NTMy/v.swf"
wideth="480" height="400"
type="application/x-shockwave-flash">
</embed> <a href="/i/bookmark.swf">播放视频文件</a>
1月12日,HTML学习笔记2的更多相关文章
- 2016年3月12日Android学习笔记
1. //此句不能忘,否则onFling左右滑动不起作用 mLlExamView.setLongClickable(true); mLlExamView.setOnTouchListener(new ...
- 2019年12月12日英语学习-Will I Or Won't I ?
这节英语课上的内容没记住多少东西,觉得这个主题太枯燥了,不过整堂课和外教沟通交流还是不错的,因为这节课就我一个学生.给我了充分的机会去张嘴交流互动. 也没记住什么东西,不知道写什么.只记住将要决定做某 ...
- 4月12日 python学习总结 继承和派生
一.继承 什么是继承: 继承是一种新建类的方式,在python中支持一个子类继承多个父类 新建类称为子类或派生类 父类可以称之为基类或者超类 子类会遗传父类的属性 2. 为什么继承 ...
- 10月9日Android学习笔记:活动与服务之间的通信
最近在照着<第一行代码>这本书来学安卓,顺便记下笔记.主要的内容是Android中服务的第二种启动方式,通过活动绑定服务来启动服务,实现活动与服务之间的通信. 一. 首先创建一个服务类 p ...
- 2015年10月22日CSS学习笔记
XHTML1.0对HTML4.0的改进 借鉴了XML的写法,语法更加严格. 把页面的内容和样式分离了,废弃了html4中的表示样式的标签和属性.推荐使用css来描述页面的样式. CSS样式的优先级 ! ...
- 11月15日jquery学习笔记
1.属性 jQuery对象是类数组,拥有length属性和介于0~length-1之间的数值属性,可以用toArray()方法将jQuery对象转化为真实数组. selector属性是创建jQuery ...
- 2016年3月17日Android学习笔记
1.Java.io.ByteArrayOutputStream.writeTo()方法实例 java.io.ByteArrayOutputStream.writeTo(OutputStream out ...
- 2016年3月16日Android学习笔记
1.Jdk1.7以上switch语句中才能用字符串,在Android Studio中我改正了jdk的版本为1.8,但是还是出同样的错误,原来我用的sdk版本是4.4的,改成5的就没有问题了. 2.引入 ...
- 2019年12月12日英语学习-Will I Or Won't I ?For Since
没办法,听不懂,记不住.就会一句.艹
- 6月12日 python学习总结 框架
1. 登录功能的实现 1. form表单提交数据的注意事项: 1. 是form不是from,必须要有method和action 2. 所有获取用户输入的表单标签要放在form表单里面,表单标签必须要有 ...
随机推荐
- sql 聚合函数、排序方法详解
聚合函数 count,max,min,avg,sum... select count (*) from T_Employee select Max(FSalary) from T_Employee 排 ...
- position属性的四个value
As we all know, position属性有四个值,分别为 relative,fixed,absolute, static. 1,relative相对定位 (不会脱离文档流) 在一个相对定位 ...
- iOS中block的用法 以及和函数用法的区别
ios中block的用法和函数的用法大致相同 但是block的用法的灵活性更高: 不带参数的block: void ^(MyBlock)() = ^{}; 调用的时候 MyBlock(); 带参数的 ...
- xlwt写入中文操作不成功,提示UnicodeDecodeError: ascii codec can't decode byte ...
打开xlwt包里的Workbook.py文件,修改Workbook类的__init__方法 将 def __init__(self, encoding='ascii', style_compressi ...
- [解决方案] pythonchallenge level 2
http://www.pythonchallenge.com/pc/def/ocr.html 根据页面提示查看网页源代码,在最后:<!--find rare characters in the ...
- 学习Core 本机开发调试 (环境)
安装 https://www.microsoft.com/net/download 本机开发调试 需要下载安装这3个,如果没装 windows(Server Hosting)可能会 出现502.5报 ...
- Apriori——python3实现
最近看了关联算法中的Apriori没看懂,这次看了一些论文总算看懂了,不过还是没能够自己实现.在github搜到一些代码看,看的不很懂,这里先贴上(当中有自己加的注释),有时间再补充研究. # -*- ...
- hdu1004
Problem Description Contest time again! How excited it is to see balloons floating around. But to te ...
- C# 文件选择对话框,Unity3d文件保存对话框
using OpenWinForm = System.Windows.Forms; 在unity3d中,使用FileDialog应该把System.Windows.Forms.dll拷贝到unity工 ...
- 修改SharePoint 2013中item Created by 信息
因为公司的系统有点小bug.额,要做点坏事,把系统没记上的东西偷偷补上去,但是item的created by变成了我(这怎么行,不能让别人知道我做了坏事,一定是隔壁小李干的! 懒得开visual st ...