摘要:
<!DOCTYPE html><html> <head> <title>test</title> <style type="text/css"> * { margin: 0; padding: 0; } .header { background-color: gray; position: abso 阅读全文
摘要:
//body 阅读全文
摘要:
/*! normalize.css v4.0.0 | MIT License | github.com/necolas/normalize.css *//** * 1. Change the default font family in all browsers (opinionated). * 2 阅读全文
摘要:
CSS部分: 阅读全文
摘要:
/* 1、必须有@ index("@") 1【没找到】 2、必须有. 3、@必须在.之前 4、@前必须有字符 5、.后边必须有字符 6、@和.之间必须有字符 7、.在@后边出现次数不能超过2次*/var email = prompt("请输入邮箱", "232@qq.com");if (email. 阅读全文
摘要:
阅读全文
摘要:
<!-- *****// ***// *// ***// *****--><script type="application/javascript"> var num=1*prompt("输入行数"); for(var a=num;a>0;a--) { for(var b=0;b<2*a+1;b++ 阅读全文
摘要:
var num=1*prompt("输入行数");//显示的金字塔行数for(var i=0;i<num;i++){ for(var j=0;j<2*i+1;j++) { document.write("*"); } document.write("<br>");} 阅读全文
摘要:
var s="jhdoiweesdds";var n=(s.split('s')).length-1;document.write(n); 阅读全文
摘要:
var email=prompt("输入邮箱格式");var str=email.lastIndexOf(".");var str2=email.substring(str);//.com/.cnvar str3=email.indexOf("@");var str4=email.substring 阅读全文