05 2016 档案

摘要:onclick: 鼠标单击触发 ondblclick: 双击触发 onmouseover: 鼠标移动上面触发 onmouseout: 鼠标离开时触发 onmousemove: 鼠标在上面移动时触发 onchange: 只要内容改变触发 onblur: 失去焦点时触发 onfocus: 获得焦点时触发 阅读全文
posted @ 2016-05-29 22:51 小飛 阅读(1251) 评论(0) 推荐(0)
摘要:插入音效: <audio src=" .mp3"></audio> <video src="' .mp3' controls='controls' autoplay='autoplay' 'loop'='1'"></video> //controls 控制面板 autoplay 自动播放 都是成对出 阅读全文
posted @ 2016-05-29 22:44 小飛 阅读(224) 评论(0) 推荐(0)
摘要:CSS样式表: 源代码: 效果图: 阅读全文
posted @ 2016-05-26 22:01 小飛 阅读(2243) 评论(0) 推荐(0)
摘要:css样式表: 源代码: 效果图: 阅读全文
posted @ 2016-05-26 21:51 小飛 阅读(235) 评论(0) 推荐(0)
摘要:源代码: css 样式表: 阅读全文
posted @ 2016-05-26 00:30 小飛 阅读(188) 评论(0) 推荐(0)
摘要:练习一: 练习二: 阅读全文
posted @ 2016-05-25 22:20 小飛 阅读(222) 评论(0) 推荐(0)
摘要:无标题文档 阅读全文
posted @ 2016-05-25 22:17 小飛 阅读(1401) 评论(0) 推荐(0)
摘要:输入一个数,求从1加到这个数的和 主要代码: 效果图: 阅读全文
posted @ 2016-05-25 00:20 小飛 阅读(1344) 评论(0) 推荐(0)
摘要:输入一个数,求从1加到这个数的和 主要代码: 效果图: 阅读全文
posted @ 2016-05-25 00:12 小飛 阅读(5845) 评论(0) 推荐(0)
摘要:简介: 1.JavaScript是个什么东西? 它是个脚本语言,需要有宿主文件,它的宿主文件是HTML文件。 2.它与Java什么关系? 没有什么直接的联系,Java是Sun公司(已被Oracle收购了),JavaScript是netspace(网景公司,已被美国在线收购了),JScript是微软的 阅读全文
posted @ 2016-05-24 23:58 小飛 阅读(212) 评论(0) 推荐(0)
摘要:源代码: css外部样式表: 阅读全文
posted @ 2016-05-23 20:17 小飛 阅读(427) 评论(0) 推荐(0)
摘要:2345网址导航-开创中国百年品牌 网页 新闻 音乐 视频 图片 购物 问答 贴吧 地图 机票 权威 推荐 人民网 新华网 央视网 国信网 国际在线 中国网 中国日报 光明网 中青在线 央广网 求是网 中国经济网 更多》 ... 阅读全文
posted @ 2016-05-22 21:16 小飛 阅读(530) 评论(0) 推荐(0)
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o 阅读全文
posted @ 2016-05-22 21:14 小飛 阅读(115) 评论(0) 推荐(0)
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o 阅读全文
posted @ 2016-05-22 21:12 小飛 阅读(332) 评论(0) 推荐(0)
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or 阅读全文
posted @ 2016-05-22 21:09 小飛 阅读(111) 评论(0) 推荐(0)
摘要:样式表主要有内联样式表、内嵌样式表、外部样式表。 内联样式表和HTML联合显示,控制精确,但是可重用性差,冗余较多。 例:<p style="font-size:14px;">内联样式表</p> 内嵌样式表 作为一个独立区域内嵌在网页里,必须写在head标签里面。 <style type="text 阅读全文
posted @ 2016-05-21 19:03 小飛 阅读(217) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 验证码字符串做法 { class Program { static void Main(string[] arg... 阅读全文
posted @ 2016-05-21 14:43 小飛 阅读(274) 评论(0) 推荐(0)
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o 阅读全文
posted @ 2016-05-19 22:51 小飛 阅读(488) 评论(0) 推荐(0)
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o 阅读全文
posted @ 2016-05-19 22:48 小飛 阅读(111) 评论(0) 推荐(0)
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o 阅读全文
posted @ 2016-05-19 00:22 小飛 阅读(293) 评论(0) 推荐(0)
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o 阅读全文
posted @ 2016-05-19 00:19 小飛 阅读(147) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(s... 阅读全文
posted @ 2016-05-19 00:06 小飛 阅读(275) 评论(0) 推荐(0)
摘要:一、概念conception: 函数体内调用本函数自身,直到符合某一条件不再继续调用。 二、应满足条件factor: (1)有反复执行的过程(调用自身); (2)有跳出反复执行过程的条件(函数出口) 三、例子example 阶乘的计算n!= n*(n-1)*(n-2)*(n-3)*……*1(n>0) 阅读全文
posted @ 2016-05-15 20:23 小飛 阅读(167) 评论(0) 推荐(0)
摘要:练习一: 练习二: 练习三: 练习四: 练习五: 练习六: 练习七: 练习八: 阅读全文
posted @ 2016-05-14 21:45 小飛 阅读(140) 评论(0) 推荐(0)
摘要:结构体 class Program { struct student { public int num; public string name; public string sex; public one oone; p... 阅读全文
posted @ 2016-05-14 21:17 小飛 阅读(274) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 习题一 { class Program { //卖羊:一个人赶了一群羊,每过一个村庄卖掉这群羊的二分之一外加一只... 阅读全文
posted @ 2016-05-13 02:24 小飛 阅读(197) 评论(0) 推荐(0)
摘要:} } } 阅读全文
posted @ 2016-05-11 23:17 小飛 阅读(1937) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1函数 { class Program { //没有返回值,没有参数 ... 阅读全文
posted @ 2016-05-11 23:09 小飛 阅读(143) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using System.Threading.Tasks; namespace ConsoleApplication1特殊集合 { class Program ... 阅读全文
posted @ 2016-05-11 23:07 小飛 阅读(140) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections;//先引用 namespace ConsoleApplication2集合 { class Program ... 阅读全文
posted @ 2016-05-11 00:34 小飛 阅读(127) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(s... 阅读全文
posted @ 2016-05-11 00:31 小飛 阅读(176) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1数组 { class Program { static void Main... 阅读全文
posted @ 2016-05-09 02:05 小飛 阅读(161) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(s... 阅读全文
posted @ 2016-05-07 21:34 小飛 阅读(251) 评论(1) 推荐(0)
摘要://猜拳 //三局两胜,电脑连赢两局,或者玩家连赢两局,2局结束 //电脑赢一局,玩家赢一局,3局 //平局,不知道几局才能结束了, //只要是电脑或是玩家赢了2局,那么就结束,否则继续 //break结束循环 //continue结束当前次循环,进入下一次循环 int count1 = 0; int count2 = 0; for (; ; ) { Console.Write("请输入您... 阅读全文
posted @ 2016-05-05 22:05 小飛 阅读(216) 评论(0) 推荐(0)
摘要:异常语句 阅读全文
posted @ 2016-05-05 21:54 小飛 阅读(224) 评论(0) 推荐(0)
摘要://1、一张150元购物卡,三类洗化用品,洗发水15元,香皂2元,牙刷5元 //求刚好花完150元,有多少种买法,每种买法各买几样? //洗发水 x 香皂 z 牙刷 y int count = 0; int bian = 0; for (int x = 0; x = 0 && a <= 100) { for (int i = 0; i <= a; ... 阅读全文
posted @ 2016-05-04 21:56 小飛 阅读(240) 评论(0) 推荐(0)
摘要://打印数字,0,1,8,10,12,每一个数单独占一行 //在全部数字打印完毕之后在打印数字的个数和所有数的和 int count = 0; int sum = 0; for (int i = 0; i <= 12; i++){ switch (i) { case 0: Console.Write 阅读全文
posted @ 2016-05-04 00:05 小飛 阅读(3668) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace ConsoleApplication1{ class P 阅读全文
posted @ 2016-05-02 22:49 小飛 阅读(231) 评论(0) 推荐(0)