摘要: <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>Document</title> </head> <script> 阅读全文
posted @ 2020-12-29 16:42 ITWebGirl 阅读(187) 评论(0) 推荐(0)
摘要: javaScript输出数据 document,write(“可以向body中输出内容”) 可以向body中输出内容 console.log(“向控制台输出内容”) 向控制台输出内容 alert(“向控制台输出内容”) 浏览器弹出窗口 <!DOCTYPE html><html lang="en">< 阅读全文
posted @ 2020-12-29 11:58 ITWebGirl 阅读(73) 评论(0) 推荐(0)
摘要: 在head添加: <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 如果还不行,将utf-8改为gb2312 <!DOCTYPE html> <html lang="en"> <head> <meta http-e 阅读全文
posted @ 2020-12-29 11:54 ITWebGirl 阅读(78) 评论(0) 推荐(0)