关于控制台常用的console <script> console.log('控制台输出日志') console.error('控制台输出错误') console.warn('控制台输出警告') console.debug('控制台输出测试') console.info('控制台输出信息') …
<body> <button onclick="alert(location.href)">弹出当前地址</button> <button onclick="location.href = 'https://www.baidu.com'">href</button> …
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> …
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> …
写三个页面实现点击按钮前进后退等 页面一: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, in…