当前位置:首页 > 文章列表 > 文章 > 前端 > HTML5开发必备清单与注意事项

HTML5开发必备清单与注意事项

2026-01-11 22:54:59 0浏览 收藏

目前golang学习网上已经有很多关于文章的文章了,自己在初次阅读这些文章中,也见识到了很多学习思路;那么本文《HTML5开发前准备清单与注意事项》,也希望能帮助到大家,如果阅读完后真的对你学习文章有帮助,欢迎动动手指,评论留言并分享~

HTML5文档必须以开头且前面不能有任何字符,需用UTF-8无BOM编码保存;应尽早置于中;添加lang属性、清理调试代码、确保资源路径与CSP兼容,并配置服务端Content-Type为text/html; charset=utf-8。

html5源代码发行前要做什么_准备事项清单与注意事项【说明】

检查 是否位于文件最开头

HTML5 文档必须以 开头,且前面**不能有任何字符**(包括空格、BOM、注释或 UTF-8 BOM 字节 EF BB BF)。常见错误是编辑器自动插入 BOM 或保存时带了不可见字符,导致 IE 进入怪异模式,或某些解析器报 Unexpected token < 错误。

  • 用 VS Code 打开文件 → 右下角查看编码格式,选“Save with Encoding” → “UTF-8”(非 “UTF-8 with BOM”)
  • 用命令行快速验证:
    head -c 10 index.html | hexdump -C
    ,输出首行不应含 ef bb bf
  • 若用构建工具(如 Webpack/Vite),确认 HTML 插件(如 html-webpack-plugin)未注入额外前缀

验证 和语言声明是否正确

必须在 中尽早出现(建议第二行),且值必须为 UTF-8(大小写不敏感,但推荐小写)。遗漏或写成 utf8(无短横)、UTF8 或 ISO-8859-1 会导致中文乱码、表单提交异常,甚至 CSP 报告拦截。

  • 禁止写成:(W3C 不认可,部分浏览器 fallback 失败)
  • 建议紧随 </code> 后添加:<code><meta name="viewport" content="width=device-width, initial-scale=1"></code>,否则移动端默认缩放失效</li> <li>添加 <code><html lang="zh-CN"></code>(根据实际语言调整),影响屏幕阅读器和 SEO</li> </ul><h3>清理开发期残留:console、debugger、未启用的 polyfill</h3> <p>上线前若保留 <code>console.log</code>、<code>debugger</code> 或已废弃的 <code>babel-polyfill</code>,会暴露逻辑、拖慢首屏、引发兼容性冲突。现代浏览器普遍支持 ES2015+,盲目引入全量 polyfill 反而增加 JS 体积和执行开销。</p> <ul><li>用 ESLint 规则 <code>"no-console": ["error", { "allow": ["warn", "error"] }]</code> 禁止生产环境 <code>log/info</code></li> <li>构建时启用 <code>drop_debugger</code>(Terser)和 <code>drop_console</code>(需谨慎:避免删掉 warn/error)</li> <li>检查 <code>package.json</code> 中是否误留 <code>@babel/polyfill</code>(已废弃),改用按需加载 <code>core-js/stable</code> + <code>regenerator-runtime/runtime</code></li> </ul><h3>检查资源路径与 CSP 兼容性</h3> <p>本地能跑 ≠ 上线能用。相对路径(如 <code>./js/app.js</code>)、协议相对 URL(<code>//cdn.example.com/lib.js</code>)在跨域或 HTTP/HTTPS 混合场景下易出错;同时若启用了 CSP(Content-Security-Policy),内联脚本、<code>eval</code>、未授权域名的资源都会被静默拦截。</p> <ul><li>所有外部资源用绝对路径或根相对路径(<code>/js/app.js</code>),避免 <code>../</code> 嵌套过深</li> <li>禁用内联事件(<code><button onclick="handle()></code>)和内联 <code><script></code>,改用外部文件 + <code>addEventListener</code></li> <li>若用 CSP,确保 <code>script-src</code> 包含所有 JS 来源(如 <code>'self' https://cdn.example.com'</code>),并用 <code>report-uri</code> 收集违规日志</li> </ul> 实际发布时最容易被忽略的是:服务端返回的 <code>Content-Type</code> 响应头是否为 <code>text/html; charset=utf-8</code>。即使 HTML 里写了 <code><meta charset></code>,服务端 header 优先级更高 —— Nginx 默认可能不带 <code>charset</code>,Apache 需显式配置 <code>AddDefaultCharset utf-8</code>。<p>好了,本文到此结束,带大家了解了《HTML5开发必备清单与注意事项》,希望本文对你有所帮助!关注golang学习网公众号,给大家分享更多文章知识!</p> </div> <div class="labsList"> <a href="javascript:;" title="html5源代码发行">html5源代码发行</a> </div> <div class="cateBox"> <div class="cateItem"> <a href="/article/454686.html" title="小红书账号切换失败怎么解决" class="img_box"> <img src="/uploads/20260111/17681432776963b9adb6a16.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="小红书账号切换失败怎么解决">小红书账号切换失败怎么解决 </a> <dl> <dt class="lineOverflow"><a href="/article/454686.html" title="小红书账号切换失败怎么解决" class="aBlack">上一篇<i></i></a></dt> <dd class="lineTwoOverflow">小红书账号切换失败怎么解决</dd> </dl> </div> <div class="cateItem"> <a href="/article/454688.html" title="世界最高峰是珠穆朗玛峰,海拔8848.86米。" class="img_box"> <img src="/uploads/20260111/17681433056963b9c9c32ad.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="世界最高峰是珠穆朗玛峰,海拔8848.86米。"> </a> <dl> <dt class="lineOverflow"><a href="/article/454688.html" class="aBlack" title="世界最高峰是珠穆朗玛峰,海拔8848.86米。">下一篇<i></i></a></dt> <dd class="lineTwoOverflow">世界最高峰是珠穆朗玛峰,海拔8848.86米。</dd> </dl> </div> </div> </div> </div> <div class="leftContBox pt0"> <div class="pdl20"> <div class="contTit"> <a href="/articlelist.html" class="more" title="查看更多">查看更多<i class="iconfont"></i></a> <div class="tit">最新文章</div> </div> </div> <ul class="newArticleList"> <li> <div class="contBox"> <a href="/article/629940.html" class="img_box" title="URLPattern 怎么同时匹配域名和路径参数"> <img src="/uploads/20261006/1791295476-e816a2355a-f49a9a5f8c-cover-640.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="URLPattern 怎么同时匹配域名和路径参数"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  26分钟前  |   <a href="/articletag/5401_new_0_1.html" class="aLightGray" title="前端开发">前端开发</a> · <a href="javascript:;" class="aLightGray" title="前端路由">前端路由</a> <a href="javascript:;" class="aLightGray" title="hostname">hostname</a> <a href="javascript:;" class="aLightGray" title="URLPattern">URLPattern</a> <a href="javascript:;" class="aLightGray" title="pathname">pathname</a> </span> </dd> <dt class="lineOverflow"> <a href="/article/629940.html" class="aBlack" target="_blank" title="URLPattern 怎么同时匹配域名和路径参数">URLPattern 怎么同时匹配域名和路径参数</a> </dt> <dd class="cont2"> <span><i class="view"></i>108浏览</span> <span class="collectBtn user_collection" data-id="629940" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/629916.html" class="img_box" title="Intl.DurationFormat 怎么本地化显示持续时间"> <img src="/uploads/20261006/1791287517-520c50a84e-214ee003d4-cover-640.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="Intl.DurationFormat 怎么本地化显示持续时间"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  2小时前  |   <a href="/articletag/4701_new_0_1.html" class="aLightGray" title="javascript">javascript</a> · <a href="javascript:;" class="aLightGray" title="JavaScript">JavaScript</a> <a href="javascript:;" class="aLightGray" title="Intl.DurationFormat">Intl.DurationFormat</a> <a href="javascript:;" class="aLightGray" title="前端国际化">前端国际化</a> <a href="javascript:;" class="aLightGray" title="持续时间格式化">持续时间格式化</a> </span> </dd> <dt class="lineOverflow"> <a href="/article/629916.html" class="aBlack" target="_blank" title="Intl.DurationFormat 怎么本地化显示持续时间">Intl.DurationFormat 怎么本地化显示持续时间</a> </dt> <dd class="cont2"> <span><i class="view"></i>141浏览</span> <span class="collectBtn user_collection" data-id="629916" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/629893.html" class="img_box" title="postMessage 转移 MessagePort 后原端口还能用吗"> <img src="/uploads/20261006/1791280507-b0629ee599-15a0b30efe-cover-640.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="postMessage 转移 MessagePort 后原端口还能用吗"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  4小时前  |   <a href="/articletag/5401_new_0_1.html" class="aLightGray" title="前端开发">前端开发</a> · <a href="/articletag/40054_new_0_1.html" class="aLightGray" title="浏览器API">浏览器API</a> · <a href="javascript:;" class="aLightGray" title="postMessage">postMessage</a> <a href="javascript:;" class="aLightGray" title="MessageChannel">MessageChannel</a> <a href="javascript:;" class="aLightGray" title="Web Worker">Web Worker</a> <a href="javascript:;" class="aLightGray" title="MessagePort">MessagePort</a> </span> </dd> <dt class="lineOverflow"> <a href="/article/629893.html" class="aBlack" target="_blank" title="postMessage 转移 MessagePort 后原端口还能用吗">postMessage 转移 MessagePort 后原端口还能用吗</a> </dt> <dd class="cont2"> <span><i class="view"></i>477浏览</span> <span class="collectBtn user_collection" data-id="629893" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/629874.html" class="img_box" title="fetchpriority 怎么只提升首屏关键图片"> <img src="/uploads/20261006/1791274464-95c8b4b415-4b54867728-cover-640.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="fetchpriority 怎么只提升首屏关键图片"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  6小时前  |   <a href="/articletag/240_new_0_1.html" class="aLightGray" title="html">html</a> · <a href="/articletag/243_new_0_1.html" class="aLightGray" title="前端">前端</a> · <a href="javascript:;" class="aLightGray" title="LCP">LCP</a> <a href="javascript:;" class="aLightGray" title="fetchpriority">fetchpriority</a> <a href="javascript:;" class="aLightGray" title="HTMLImageElement.fetchPriority">HTMLImageElement.fetchPriority</a> <a href="javascript:;" class="aLightGray" title="首屏图片">首屏图片</a> <a href="javascript:;" class="aLightGray" title="图片加载优先级">图片加载优先级</a> </span> </dd> <dt class="lineOverflow"> <a href="/article/629874.html" class="aBlack" target="_blank" title="fetchpriority 怎么只提升首屏关键图片">fetchpriority 怎么只提升首屏关键图片</a> </dt> <dd class="cont2"> <span><i class="view"></i>343浏览</span> <span class="collectBtn user_collection" data-id="629874" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/629845.html" class="img_box" title="AbortSignal.any 怎么合并超时和用户取消"> <img src="/uploads/20261006/1791264062-71751c27b5-a4afbe642f-cover-640.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="AbortSignal.any 怎么合并超时和用户取消"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  9小时前  |   </span> </dd> <dt class="lineOverflow"> <a href="/article/629845.html" class="aBlack" target="_blank" title="AbortSignal.any 怎么合并超时和用户取消">AbortSignal.any 怎么合并超时和用户取消</a> </dt> <dd class="cont2"> <span><i class="view"></i>106浏览</span> <span class="collectBtn user_collection" data-id="629845" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/629802.html" class="img_box" title="Scheduler.postTask 怎么设置任务优先级"> <img src="/uploads/20261006/1791249672-ece07b1bb2-1c982583eb-cover-640.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="Scheduler.postTask 怎么设置任务优先级"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  13小时前  |   <a href="/articletag/243_new_0_1.html" class="aLightGray" title="前端">前端</a> · <a href="/articletag/729_new_0_1.html" class="aLightGray" title="性能优化">性能优化</a> · <a href="/articletag/4701_new_0_1.html" class="aLightGray" title="javascript">javascript</a> · <a href="javascript:;" class="aLightGray" title="scheduler.postTask">scheduler.postTask</a> <a href="javascript:;" class="aLightGray" title="TaskController">TaskController</a> <a href="javascript:;" class="aLightGray" title="Prioritized Task Scheduling API">Prioritized Task Scheduling API</a> <a href="javascript:;" class="aLightGray" title="TaskSignal">TaskSignal</a> <a href="javascript:;" class="aLightGray" title="JavaScript任务优先级">JavaScript任务优先级</a> </span> </dd> <dt class="lineOverflow"> <a href="/article/629802.html" class="aBlack" target="_blank" title="Scheduler.postTask 怎么设置任务优先级">Scheduler.postTask 怎么设置任务优先级</a> </dt> <dd class="cont2"> <span><i class="view"></i>148浏览</span> <span class="collectBtn user_collection" data-id="629802" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/629754.html" class="img_box" title="View Transition types 怎么为不同导航选择动画"> <img src="/uploads/20261006/1791222599-d0ac3fdcc4-bfcfdd25c5-cover-640.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="View Transition types 怎么为不同导航选择动画"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  20小时前  |   <a href="/articletag/243_new_0_1.html" class="aLightGray" title="前端">前端</a> · <a href="javascript:;" class="aLightGray" title="View Transition API">View Transition API</a> <a href="javascript:;" class="aLightGray" title="startViewTransition">startViewTransition</a> <a href="javascript:;" class="aLightGray" title="ViewTransitionTypeSet">ViewTransitionTypeSet</a> <a href="javascript:;" class="aLightGray" title="pageswap">pageswap</a> <a href="javascript:;" class="aLightGray" title="pagereveal">pagereveal</a> </span> </dd> <dt class="lineOverflow"> <a href="/article/629754.html" class="aBlack" target="_blank" title="View Transition types 怎么为不同导航选择动画">View Transition types 怎么为不同导航选择动画</a> </dt> <dd class="cont2"> <span><i class="view"></i>195浏览</span> <span class="collectBtn user_collection" data-id="629754" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/629716.html" class="img_box" title="HTMLDialogElement requestClose 和 close 有什么区别"> <img src="/uploads/20261005/1791212712-9115baed61-69301a1083-cover-640.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="HTMLDialogElement requestClose 和 close 有什么区别"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  23小时前  |   <a href="javascript:;" class="aLightGray" title="dialog">dialog</a> <a href="javascript:;" class="aLightGray" title="close">close</a> <a href="javascript:;" class="aLightGray" title="HTMLDialogElement">HTMLDialogElement</a> <a href="javascript:;" class="aLightGray" title="requestClose">requestClose</a> </span> </dd> <dt class="lineOverflow"> <a href="/article/629716.html" class="aBlack" target="_blank" title="HTMLDialogElement requestClose 和 close 有什么区别">HTMLDialogElement requestClose 和 close 有什么区别</a> </dt> <dd class="cont2"> <span><i class="view"></i>363浏览</span> <span class="collectBtn user_collection" data-id="629716" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/629676.html" class="img_box" title="Popover API 怎么实现点击外部自动关闭"> <img src="/uploads/20261005/1791201542-953c61de58-ce84a07e66-cover-640.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="Popover API 怎么实现点击外部自动关闭"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  1天前  |   <a href="/articletag/240_new_0_1.html" class="aLightGray" title="html">html</a> · <a href="/articletag/5401_new_0_1.html" class="aLightGray" title="前端开发">前端开发</a> · <a href="javascript:;" class="aLightGray" title="Popover API">Popover API</a> <a href="javascript:;" class="aLightGray" title="popover auto">popover auto</a> <a href="javascript:;" class="aLightGray" title="点击外部关闭">点击外部关闭</a> <a href="javascript:;" class="aLightGray" title="Light Dismiss">Light Dismiss</a> </span> </dd> <dt class="lineOverflow"> <a href="/article/629676.html" class="aBlack" target="_blank" title="Popover API 怎么实现点击外部自动关闭">Popover API 怎么实现点击外部自动关闭</a> </dt> <dd class="cont2"> <span><i class="view"></i>225浏览</span> <span class="collectBtn user_collection" data-id="629676" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/629627.html" class="img_box" title="CSS cqi 和 cqb 单位分别跟随哪个容器轴"> <img src="/uploads/20261005/1791183931-5df1f8e440-a8ae3cb8bb-cover-640.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="CSS cqi 和 cqb 单位分别跟随哪个容器轴"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  1天前  |   <a href="/articletag/243_new_0_1.html" class="aLightGray" title="前端">前端</a> · <a href="/articletag/4729_new_0_1.html" class="aLightGray" title="css">css</a> · <a href="javascript:;" class="aLightGray" title="CSS">CSS</a> <a href="javascript:;" class="aLightGray" title="容器查询">容器查询</a> <a href="javascript:;" class="aLightGray" title="cqi">cqi</a> <a href="javascript:;" class="aLightGray" title="cqb">cqb</a> <a href="javascript:;" class="aLightGray" title="inline-size">inline-size</a> <a href="javascript:;" class="aLightGray" title="block-size">block-size</a> </span> </dd> <dt class="lineOverflow"> <a href="/article/629627.html" class="aBlack" target="_blank" title="CSS cqi 和 cqb 单位分别跟随哪个容器轴">CSS cqi 和 cqb 单位分别跟随哪个容器轴</a> </dt> <dd class="cont2"> <span><i class="view"></i>470浏览</span> <span class="collectBtn user_collection" data-id="629627" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/629585.html" class="img_box" title="CSS position-try-fallbacks 怎么自定义浮层回退顺序"> <img src="/uploads/20261005/1791173060-05862cb32b-4db54229ef-cover-640.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="CSS position-try-fallbacks 怎么自定义浮层回退顺序"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  1天前  |   <a href="/articletag/4729_new_0_1.html" class="aLightGray" title="css">css</a> · <a href="javascript:;" class="aLightGray" title="position-try-fallbacks">position-try-fallbacks</a> <a href="javascript:;" class="aLightGray" title="CSS锚点定位">CSS锚点定位</a> <a href="javascript:;" class="aLightGray" title="浮层回退">浮层回退</a> </span> </dd> <dt class="lineOverflow"> <a href="/article/629585.html" class="aBlack" target="_blank" title="CSS position-try-fallbacks 怎么自定义浮层回退顺序">CSS position-try-fallbacks 怎么自定义浮层回退顺序</a> </dt> <dd class="cont2"> <span><i class="view"></i>427浏览</span> <span class="collectBtn user_collection" data-id="629585" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> <li> <div class="contBox"> <a href="/article/629534.html" class="img_box" title="CSS :has() 怎么控制选择范围避免匹配成本过高"> <img src="/uploads/20261005/1791149623-ab292b5d21-97ca3c64e1-cover-640.webp" onerror="this.src='/assets/images/moren/morentu.png'" alt="CSS :has() 怎么控制选择范围避免匹配成本过高"> </a> <dl> <dd class="cont1"> <span> <a href="/articlelist/19_new_0_1.html" class="aLightGray" title="文章">文章</a> · <a href="/articlelist/88_new_0_1.html" class="aLightGray" title="前端">前端</a>   |  1天前  |   </span> </dd> <dt class="lineOverflow"> <a href="/article/629534.html" class="aBlack" target="_blank" title="CSS :has() 怎么控制选择范围避免匹配成本过高">CSS :has() 怎么控制选择范围避免匹配成本过高</a> </dt> <dd class="cont2"> <span><i class="view"></i>210浏览</span> <span class="collectBtn user_collection" data-id="629534" data-type="article" title="收藏"><i class="collect"></i>收藏</span> </dd> </dl> </div> </li> </ul> </div> </div> <div class="mainRight"> <!-- 右侧广告位banner --> <div class="rightContBox" style="margin-top: 0px;"> <div class="rightTit"> <a href="/courselist.html" class="more" title="查看更多">查看更多<i class="iconfont"></i></a> <div class="tit lineOverflow">课程推荐</div> </div> <ul class="lessonRecomRList"> <li> <a href="/course/9.html" class="img_box" target="_blank" title="前端进阶之JavaScript设计模式"> <img src="/uploads/20221222/52fd0f23a454c71029c2c72d206ed815.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="前端进阶之JavaScript设计模式"> </a> <dl> <dt class="lineTwoOverflow"><a href="/course/9.html" target="_blank" class="aBlack" title="前端进阶之JavaScript设计模式">前端进阶之JavaScript设计模式</a></dt> <dd class="cont1 lineTwoOverflow"> 设计模式是开发人员在软件开发过程中面临一般问题时的解决方案,代表了最佳的实践。本课程的主打内容包括JS常见设计模式以及具体应用场景,打造一站式知识长龙服务,适合有JS基础的同学学习。 </dd> <dd class="cont2">543次学习</dd> </dl> </li> <li> <a href="/course/2.html" class="img_box" target="_blank" title="GO语言核心编程课程"> <img src="/uploads/20221221/634ad7404159bfefc6a54a564d437b5f.png" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="GO语言核心编程课程"> </a> <dl> <dt class="lineTwoOverflow"><a href="/course/2.html" target="_blank" class="aBlack" title="GO语言核心编程课程">GO语言核心编程课程</a></dt> <dd class="cont1 lineTwoOverflow"> 本课程采用真实案例,全面具体可落地,从理论到实践,一步一步将GO核心编程技术、编程思想、底层实现融会贯通,使学习者贴近时代脉搏,做IT互联网时代的弄潮儿。 </dd> <dd class="cont2">516次学习</dd> </dl> </li> <li> <a href="/course/74.html" class="img_box" target="_blank" title="简单聊聊mysql8与网络通信"> <img src="/uploads/20240103/bad35fe14edbd214bee16f88343ac57c.png" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="简单聊聊mysql8与网络通信"> </a> <dl> <dt class="lineTwoOverflow"><a href="/course/74.html" target="_blank" class="aBlack" title="简单聊聊mysql8与网络通信">简单聊聊mysql8与网络通信</a></dt> <dd class="cont1 lineTwoOverflow"> 如有问题加微信:Le-studyg;在课程中,我们将首先介绍MySQL8的新特性,包括性能优化、安全增强、新数据类型等,帮助学生快速熟悉MySQL8的最新功能。接着,我们将深入解析MySQL的网络通信机制,包括协议、连接管理、数据传输等,让 </dd> <dd class="cont2">500次学习</dd> </dl> </li> <li> <a href="/course/57.html" class="img_box" target="_blank" title="JavaScript正则表达式基础与实战"> <img src="/uploads/20221226/bbe4083bb3cb0dd135fb02c31c3785fb.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="JavaScript正则表达式基础与实战"> </a> <dl> <dt class="lineTwoOverflow"><a href="/course/57.html" target="_blank" class="aBlack" title="JavaScript正则表达式基础与实战">JavaScript正则表达式基础与实战</a></dt> <dd class="cont1 lineTwoOverflow"> 在任何一门编程语言中,正则表达式,都是一项重要的知识,它提供了高效的字符串匹配与捕获机制,可以极大的简化程序设计。 </dd> <dd class="cont2">487次学习</dd> </dl> </li> <li> <a href="/course/28.html" class="img_box" target="_blank" title="从零制作响应式网站—Grid布局"> <img src="/uploads/20221223/ac110f88206daeab6c0cf38ebf5fe9ed.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="从零制作响应式网站—Grid布局"> </a> <dl> <dt class="lineTwoOverflow"><a href="/course/28.html" target="_blank" class="aBlack" title="从零制作响应式网站—Grid布局">从零制作响应式网站—Grid布局</a></dt> <dd class="cont1 lineTwoOverflow"> 本系列教程将展示从零制作一个假想的网络科技公司官网,分为导航,轮播,关于我们,成功案例,服务流程,团队介绍,数据部分,公司动态,底部信息等内容区块。网站整体采用CSSGrid布局,支持响应式,有流畅过渡和展现动画。 </dd> <dd class="cont2">485次学习</dd> </dl> </li> </ul> </div> <div class="rightContBox"> <div class="rightTit"> <a href="/ai.html" class="more" title="查看更多">查看更多<i class="iconfont"></i></a> <div class="tit lineOverflow">AI推荐</div> </div> <ul class="lessonRecomRList"> <li> <a href="/ai/13900.html" target="_blank" title="PubMedQA数据集详解:生物医学问答基准、功能与应用指南" class="img_box"> <img src="/uploads/20260908/6a9f83280940e7.65575695.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="PubMedQA数据集详解:生物医学问答基准、功能与应用指南" style="object-fit:cover;width:100%;height:100%;"> </a> <dl> <dt class="lineTwoOverflow"><a href="/ai/13900.html" class="aBlack" target="_blank" title="PubMedQA">PubMedQA</a></dt> <dd class="cont1 lineTwoOverflow"> 深入了解PubMedQA生物医学问答数据集,涵盖其核心功能、使用方法及在临床决策、药物研发等场景的应用,助力提升NLP模型性能。 </dd> <dd class="cont2">353次使用</dd> </dl> </li> <li> <a href="/ai/13899.html" target="_blank" title="H2O EvalGPT:开源LLM大模型评估与排行榜工具" class="img_box"> <img src="/uploads/20260908/17887986376a9ee6adaf3f5.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="H2O EvalGPT:开源LLM大模型评估与排行榜工具" style="object-fit:cover;width:100%;height:100%;"> </a> <dl> <dt class="lineTwoOverflow"><a href="/ai/13899.html" class="aBlack" target="_blank" title="H2O EvalGPT">H2O EvalGPT</a></dt> <dd class="cont1 lineTwoOverflow"> H2O EvalGPT是H2O.ai推出的开源LLM评估平台,提供详细的大模型性能排行榜、行业特定基准测试及A/B测试功能,助您快速选择最适合项目的高性能大语言模型。 </dd> <dd class="cont2">413次使用</dd> </dl> </li> <li> <a href="/ai/13898.html" target="_blank" title="LMArena是什么?伯克利AI模型评估平台使用指南与功能解析" class="img_box"> <img src="/uploads/20260908/6a9f862dbcfec7.27385604.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="LMArena是什么?伯克利AI模型评估平台使用指南与功能解析" style="object-fit:cover;width:100%;height:100%;"> </a> <dl> <dt class="lineTwoOverflow"><a href="/ai/13898.html" class="aBlack" target="_blank" title="LMArena">LMArena</a></dt> <dd class="cont1 lineTwoOverflow"> LMArena是加州大学伯克利分校推出的AI模型匿名评测平台。通过盲测投票机制,用户可对比不同大模型回答并生成实时排行榜,助力开发者优化模型及用户选择最佳AI工具。 </dd> <dd class="cont2">421次使用</dd> </dl> </li> <li> <a href="/ai/13897.html" target="_blank" title="斯坦福HELM:大语言模型Holistic Evaluation整体评估框架详解" class="img_box"> <img src="/uploads/20260908/6a9f86b31ed789.06773114.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="斯坦福HELM:大语言模型Holistic Evaluation整体评估框架详解" style="object-fit:cover;width:100%;height:100%;"> </a> <dl> <dt class="lineTwoOverflow"><a href="/ai/13897.html" class="aBlack" target="_blank" title="HELM">HELM</a></dt> <dd class="cont1 lineTwoOverflow"> 深入了解斯坦福推出的HELM(Holistic Evaluation of Language Models)大模型评测体系。本文解析其核心功能、安装配置步骤及应用场景,涵盖准确性、公平性、鲁棒性等多维度指标,助力开发者全面优化语言模型性能。 </dd> <dd class="cont2">376次使用</dd> </dl> </li> <li> <a href="/ai/13896.html" target="_blank" title="MMBench详解:多模态大模型基准测试、功能特点与使用指南" class="img_box"> <img src="/uploads/20260908/6a9f86d3eed3e7.18564236.jpg" onerror="this.onerror='',this.src='/assets/images/moren/morentu.png'" alt="MMBench详解:多模态大模型基准测试、功能特点与使用指南" style="object-fit:cover;width:100%;height:100%;"> </a> <dl> <dt class="lineTwoOverflow"><a href="/ai/13896.html" class="aBlack" target="_blank" title="MMBench">MMBench</a></dt> <dd class="cont1 lineTwoOverflow"> MMBench是由上海人工智能实验室等机构联合推出的多模态基准测试平台,提供细粒度能力评估、大规模数据集及VLMEvalKit工具。本文详细介绍其核心功能、安装使用方法及应用场景,助力开发者全面评估多模态模型性能。 </dd> <dd class="cont2">199次使用</dd> </dl> </li> </ul> </div> <!-- 相关文章 --> <div class="rightContBox"> <div class="rightTit"> <a href="/articlelist.html" class="more" title="查看更多">查看更多<i class="iconfont"></i></a> <div class="tit lineOverflow">相关文章</div> </div> <ul class="aboutArticleRList"> <li> <dl> <dt class="lineTwoOverflow"><a href="/article/207000.html" class="aBlack" title="JavaScript函数定义及示例详解">JavaScript函数定义及示例详解</a></dt> <dd> <span class="left">2025-05-11</span> <span class="right">502浏览</span> </dd> </dl> </li> <li> <dl> <dt class="lineTwoOverflow"><a href="/article/621422.html" class="aBlack" title="智能体安全引领产业升级——国内AI安全产品市场深度分析">智能体安全引领产业升级——国内AI安全产品市场深度分析</a></dt> <dd> <span class="left">2026-08-21</span> <span class="right">501浏览</span> </dd> </dl> </li> <li> <dl> <dt class="lineTwoOverflow"><a href="/article/619053.html" class="aBlack" title="CSS变量简化按钮悬停效果技巧">CSS变量简化按钮悬停效果技巧</a></dt> <dd> <span class="left">2026-05-31</span> <span class="right">501浏览</span> </dd> </dl> </li> <li> <dl> <dt class="lineTwoOverflow"><a href="/article/618916.html" class="aBlack" title="JavaScript符号类型详解与应用">JavaScript符号类型详解与应用</a></dt> <dd> <span class="left">2026-05-31</span> <span class="right">501浏览</span> </dd> </dl> </li> <li> <dl> <dt class="lineTwoOverflow"><a href="/article/612539.html" class="aBlack" title="HTML剪贴板复制粘贴怎么用">HTML剪贴板复制粘贴怎么用</a></dt> <dd> <span class="left">2026-05-26</span> <span class="right">501浏览</span> </dd> </dl> </li> </ul> </div> </div> </div> <div class="footer"> <div class="footerIn"> <div class="footLeft"> <div class="linkBox"> <a href="/about/1.html" target="_blank" class="aBlack" title="关于我们">关于我们</a> <a href="/about/5.html" target="_blank" class="aBlack" title="免责声明">免责声明</a> <a href="#" class="aBlack" title="意见反馈">意见反馈</a> <a href="/about/2.html" class="aBlack" target="_blank" title="联系我们">联系我们</a> <a href="/send.html" class="aBlack" title="广告合作">内容提交</a> <a href="/manual/go/" target="_blank" class="aBlack" title="手册">手册</a> </div> <div class="footTip">Golang学习网:公益在线Go学习平台,帮助Go学习者快速成长!</div> <div class="shareBox"> <span><i class="qq"></i>技术交流群</span> </div> <div class="copyRight"> Copyright 2023 http://www.17golang.com/ All Rights Reserved | <a href="https://beian.miit.gov.cn/" target="_blank" title="备案">湘ICP备19018815号-4</a> </div> </div> <div class="footRight"> <ul class="encodeList"> <li> <div class="encodeImg"> <img src="/assets/examples/qrcode_for_gh.jpg" alt="Golang学习网"> </div> <div class="tit">关注公众号</div> <div class="tip">Golang学习网</div> </li> <div class="clear"></div> </ul> </div> <div class="clear"></div> </div> </div> <!-- 微信登录弹窗 --> <style> .popupBg .n-error{ color: red; } </style> <div class="popupBg"> <div class="loginBoxBox"> <div class="imgbg"> <img src="/assets/images/leftlogo.jpg" alt=""> </div> <!-- 微信登录 --> <div class="loginInfo encodeLogin" style="display: none;"> <div class="closeIcon" onclick="$('.popupBg').hide();"></div> <div class="changeLoginType cursorPointer create_wxqrcode" onclick="$('.loginInfo').hide();$('.passwordLogin').show();"> <div class="tip">密码登录在这里</div> </div> <div class="encodeInfo"> <div class="tit"><i></i> 微信扫码登录或注册</div> <div class="encodeImg"> <span id="wx_login_qrcode"><img src="/assets/examples/code.png" alt="二维码"></span> <!-- <div class="refreshBox"> <p>二维码失效</p> <button type="button" class="create_wxqrcode">刷新1111</button> </div> --> </div> <div class="tip">打开微信扫一扫,快速登录/注册</div> </div> <div class="beforeLoginTip">登录即同意 <a href="#" class="aBlue" title="用户协议">用户协议</a> 和 <a href="#" class="aBlue" title="隐私政策">隐私政策</a></div> </div> <!-- 密码登录 --> <div class="loginInfo passwordLogin"> <div class="closeIcon" onclick="$('.popupBg').hide();"></div> <div class="changeLoginType cursorPointer create_wxqrcode" onclick="$('.loginInfo').hide();$('.encodeLogin').show();"> <div class="tip">微信登录更方便</div> </div> <div class="passwordInfo"> <ul class="logintabs selfTabMenu"> <li class="selfTabItem loginFormLi curr">密码登录</li> <li class="selfTabItem registerFormBox ">注册账号</li> </ul> <div class="selfTabContBox"> <div class="selfTabCont loginFormBox" style="display: block;"> <form name="form" id="login-form" class="form-vertical form" method="POST" action="/index/user/login"> <input type="hidden" name="url" value="//www.17golang.com/article/454687.html"/> <input type="hidden" name="__token__" value="d36b44722689215c9bfac29325f39191" /> <div class="form-group" style="height:70px;"> <input class="form-control" id="account" type="text" name="account" value="" data-rule="required" placeholder="邮箱/用户名" autocomplete="off"> </div> <div class="form-group" style="height:70px;"> <input class="form-control" id="password" type="password" name="password" data-rule="required;password" placeholder="密码" autocomplete="off"> </div> <div class="codeBox" style="height:70px;"> <div class="form-group" style="height:70px; width:205px; float: left;"> <input type="text" name="captcha" class="form-control" placeholder="验证码" data-rule="required;length(4)" /> </div> <span class="input-group-btn" style="padding:0;border:none;"> <img src="/captcha.html" width="100" height="45" onclick="this.src = '/captcha.html?r=' + Math.random();"/> </span> </div> <div class="other"> <a href="#" class="forgetPwd aGray" onclick="$('.loginInfo').hide();$('.passwordForget').show();" title="忘记密码">忘记密码</a> </div> <div class="loginBtn mt25"> <button type="submit">登录</button> </div> </form> </div> <div class="selfTabCont registerFormBox" style="display: none;"> <form name="form1" id="register-form" class="form-vertical form" method="POST" action="/index/user/register"> <input type="hidden" name="invite_user_id" value="0"/> <input type="hidden" name="url" value="//www.17golang.com/article/454687.html"/> <input type="hidden" name="__token__" value="d36b44722689215c9bfac29325f39191" /> <div class="form-group" style="height:70px;"> <input type="text" name="email" id="email2" data-rule="required;email" class="form-control" placeholder="邮箱"> </div> <div class="form-group" style="height:70px;"> <input type="text" id="username" name="username" data-rule="required;username" class="form-control" placeholder="用户名必须3-30个字符"> </div> <div class="form-group" style="height:70px;"> <input type="password" id="password2" name="password" data-rule="required;password" class="form-control" placeholder="密码必须6-30个字符"> </div> <div class="codeBox" style="height:70px;"> <div class="form-group" style="height:70px; width:205px; float: left;"> <input type="text" name="captcha" class="form-control" placeholder="验证码" data-rule="required;length(4)" /> </div> <span class="input-group-btn" style="padding:0;border:none;"> <img src="/captcha.html" width="100" height="45" onclick="this.src = '/captcha.html?r=' + Math.random();"/> </span> </div> <div class="loginBtn"> <button type="submit">注册</button> </div> </form> </div> </div> </div> <div class="beforeLoginTip">登录即同意 <a href="https://www.17golang.com/about/3.html" target="_blank" class="aBlue" title="用户协议">用户协议</a> 和 <a href="https://www.17golang.com/about/4.html" target="_blank" class="aBlue" title="隐私政策">隐私政策</a></div> </div> <!-- 重置密码 --> <div class="loginInfo passwordForget"> <div class="closeIcon" onclick="$('.popupBg').hide();"></div> <div class="returnLogin cursorPointer" onclick="$('.passwordForget').hide();$('.passwordLogin').show();">返回登录</div> <div class="passwordInfo"> <ul class="logintabs selfTabMenu"> <li class="selfTabItem">重置密码</li> </ul> <div class="selfTabContBox"> <div class="selfTabCont"> <form id="resetpwd-form" class="form-horizontal form-layer nice-validator n-default n-bootstrap form" method="POST" action="/api/user/resetpwd.html" novalidate="novalidate"> <div style="height:70px;"> <input type="text" class="form-control" id="email" name="email" value="" placeholder="输入邮箱" aria-invalid="true"> </div> <div class="codeBox" style="height:70px;"> <div class="form-group" style="height:70px; width:205px; float: left;"> <input type="text" name="captcha" class="form-control" placeholder="验证码" /> </div> <span class="input-group-btn" style="padding:0;border:none;"> <a href="javascript:;" class="btn btn-primary btn-captcha cursorPointer" style="background: #2080F8; border-radius: 4px; color: #fff; padding: 12px; position: absolute;" data-url="/api/ems/send.html" data-type="email" data-event="resetpwd">发送验证码</a> </span> </div> <input type="password" class="form-control" id="newpassword" name="newpassword" value="" placeholder="请输入6-18位密码"> <div class="loginBtn mt25"> <button type="submit">重置密码</button> </div> </form> </div> </div> </div> </div> </div> </div> <script src="/assets/js/juejin-theme.js?v=20260613b" defer></script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?e34c3e8ab31ba35d7e1c48ea8d77315f"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <script src="/assets/js/frontend/common.js"></script> </body> </html>