摘要: <!DOCTYPE html> <html lang="zh - CN"> <head> <meta charset="UTF - 8"> <meta name="viewport" content="width=device-width, initial - scale=1.0"> <title> 阅读全文
posted @ 2025-11-23 09:38 爱吃泡面的皮卡 阅读(8) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>童心少年</title> </head> <body> <input type="text" onkeydown="keydown(event)"> <br/> <img id=" 阅读全文
posted @ 2025-11-23 09:29 爱吃泡面的皮卡 阅读(3) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>童心少年</title> <script> function asd(){ var str=document.getElementById("fname"); str.value= 阅读全文
posted @ 2025-11-23 09:28 爱吃泡面的皮卡 阅读(4) 评论(0) 推荐(0)
摘要: 属性描述 constructor 返回创建字符串属性的函数 length 返回字符串的长度 prototype 允许你向对象添加属性和方法 阅读全文
posted @ 2025-11-23 09:25 爱吃泡面的皮卡 阅读(4) 评论(0) 推荐(0)
摘要: Method(方法)描述 charAt() 返回指定索引位置的字符 charCodeAt() 返回指定索引位置字符的Unicode值 concat() 连接两个或多个字符串,返回连接后的字符串 fromCharCode() 将指定的Unicode值转换为字符串 indexOf() 返回字符串中检索指 阅读全文
posted @ 2025-11-23 09:24 爱吃泡面的皮卡 阅读(9) 评论(0) 推荐(0)
摘要: 代码输出 ' 单引号 " 双引号 \ 反斜杠 \n 换行 \r 回车 \t tab(制表符) \b 退格符 \f 换页符 阅读全文
posted @ 2025-11-23 09:24 爱吃泡面的皮卡 阅读(3) 评论(0) 推荐(0)