05 2016 档案
摘要:onclick: 鼠标单击触发 ondblclick: 双击触发 onmouseover: 鼠标移动上面触发 onmouseout: 鼠标离开时触发 onmousemove: 鼠标在上面移动时触发 onchange: 只要内容改变触发 onblur: 失去焦点时触发 onfocus: 获得焦点时触发
阅读全文
摘要:插入音效: <audio src=" .mp3"></audio> <video src="' .mp3' controls='controls' autoplay='autoplay' 'loop'='1'"></video> //controls 控制面板 autoplay 自动播放 都是成对出
阅读全文
摘要:输入一个数,求从1加到这个数的和 主要代码: 效果图:
阅读全文
摘要:输入一个数,求从1加到这个数的和 主要代码: 效果图:
阅读全文
摘要:简介: 1.JavaScript是个什么东西? 它是个脚本语言,需要有宿主文件,它的宿主文件是HTML文件。 2.它与Java什么关系? 没有什么直接的联系,Java是Sun公司(已被Oracle收购了),JavaScript是netspace(网景公司,已被美国在线收购了),JScript是微软的
阅读全文
摘要:2345网址导航-开创中国百年品牌 网页 新闻 音乐 视频 图片 购物 问答 贴吧 地图 机票 权威 推荐 人民网 新华网 央视网 国信网 国际在线 中国网 中国日报 光明网 中青在线 央广网 求是网 中国经济网 更多》 ...
阅读全文
摘要:<!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
阅读全文
摘要:<!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
阅读全文
摘要:<!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
阅读全文
摘要:样式表主要有内联样式表、内嵌样式表、外部样式表。 内联样式表和HTML联合显示,控制精确,但是可重用性差,冗余较多。 例:<p style="font-size:14px;">内联样式表</p> 内嵌样式表 作为一个独立区域内嵌在网页里,必须写在head标签里面。 <style type="text
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 验证码字符串做法 { class Program { static void Main(string[] arg...
阅读全文
摘要:<!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
阅读全文
摘要:<!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
阅读全文
摘要:<!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
阅读全文
摘要:<!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
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(s...
阅读全文
摘要:一、概念conception: 函数体内调用本函数自身,直到符合某一条件不再继续调用。 二、应满足条件factor: (1)有反复执行的过程(调用自身); (2)有跳出反复执行过程的条件(函数出口) 三、例子example 阶乘的计算n!= n*(n-1)*(n-2)*(n-3)*……*1(n>0)
阅读全文
摘要:练习一: 练习二: 练习三: 练习四: 练习五: 练习六: 练习七: 练习八:
阅读全文
摘要:结构体 class Program { struct student { public int num; public string name; public string sex; public one oone; p...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 习题一 { class Program { //卖羊:一个人赶了一群羊,每过一个村庄卖掉这群羊的二分之一外加一只...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1函数 { class Program { //没有返回值,没有参数 ...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using System.Threading.Tasks; namespace ConsoleApplication1特殊集合 { class Program ...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Collections;//先引用 namespace ConsoleApplication2集合 { class Program ...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(s...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1数组 { class Program { static void Main...
阅读全文
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(s...
阅读全文
摘要://猜拳 //三局两胜,电脑连赢两局,或者玩家连赢两局,2局结束 //电脑赢一局,玩家赢一局,3局 //平局,不知道几局才能结束了, //只要是电脑或是玩家赢了2局,那么就结束,否则继续 //break结束循环 //continue结束当前次循环,进入下一次循环 int count1 = 0; int count2 = 0; for (; ; ) { Console.Write("请输入您...
阅读全文
摘要://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; ...
阅读全文
摘要://打印数字,0,1,8,10,12,每一个数单独占一行 //在全部数字打印完毕之后在打印数字的个数和所有数的和 int count = 0; int sum = 0; for (int i = 0; i <= 12; i++){ switch (i) { case 0: Console.Write
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace ConsoleApplication1{ class P
阅读全文

浙公网安备 33010602011771号