Projects
Blog
Quotes
Movies
Projects
Blog
Quotes
Movies
Interviews
个人整理的前端面试题,方便复习与查阅。
Category
All
HTML
CSS
JavaScript
TypeScript
Vue
React
浏览器原理
网络 & 通信
性能优化
工程化
算法 & 数据结构
前端架构
跨端 & 平台
测试
安全
AI
Python
云原生
Node.js / 全栈方向
数据 & 后端基础
其他
HTML
HTML 的标准和规范由谁制定?
Updated Apr 14, 2026
HTML
什么是 contenteditable?
Updated Apr 14, 2026
HTML
HTML 中的 draggable 属性是做什么的?
Updated Apr 14, 2026
HTML
noscript 标签有什么作用?
Updated Apr 14, 2026
HTML
什么是 document.write?为什么不推荐使用?
Updated Apr 14, 2026
HTML
浏览器是如何解析 HTML 的?遇到 script 会发生什么?
Updated Apr 14, 2026
HTML
HTML 中 attribute 和 property 的区别?
Updated Apr 14, 2026
HTML
HTML 中的 void 元素有哪些?为什么不需要闭合?
Updated Apr 14, 2026
HTML
iframe 有哪些使用场景?有什么缺点?
Updated Apr 14, 2026
HTML
preload 和 prefetch 的区别是什么?
Updated Apr 14, 2026
HTML
HTML 页面从输入 URL 到渲染完成,HTML 做了什么?
Updated Apr 14, 2026
HTML
HTML 中有哪些常见的全局属性?
Updated Apr 14, 2026
HTML
label 标签的作用是什么?for 属性有什么用?
Updated Apr 14, 2026
HTML
什么是 Shadow DOM?它解决了什么问题?
Updated Apr 14, 2026
HTML
HTML5 中的 `data-*` 属性有什么作用?如何在 JavaScript 中访问它们?
Updated Apr 14, 2026
HTML
什么是 HTML 实体编码?为什么需要使用它?举例说明。
Updated Apr 14, 2026
HTML
`<img>` 标签中 `alt` 属性的作用是什么?如果图片加载失败会发生什么?
Updated Apr 14, 2026
HTML
`<meta>` 标签有哪些常见用法?viewport 设置的具体含义是什么?
Updated Apr 14, 2026
HTML
请列举常见的行内元素、块级元素和空元素,并说明它们的区别及 CSS 中如何转换。
Updated Apr 14, 2026
HTML
什么是关键渲染路径(Critical Rendering Path)?HTML 如何影响它?
Updated Apr 14, 2026
HTML
Cookie、SessionStorage 和 LocalStorage 的区别?
Updated Apr 14, 2026
HTML
defer 和 async 脚本加载属性的区别?
Updated Apr 14, 2026
HTML
介绍一下 HTML5 的新特性(除了语义化标签)
Updated Apr 14, 2026
HTML
DOCTYPE 的作用是什么?标准模式和怪异模式有什么区别?
Updated Apr 14, 2026
HTML
src和href的区别?
Updated Apr 3, 2026
HTML
语义化标签的理解及其重要性
Updated Apr 3, 2026