W3Schools offers a wide range of services and products for beginners and professionals, helping millions of people everyday to learn and master new skills.
Enjoy our free tutorials like millions of other internet users since 1999
Explore our selection of references covering all popular coding languages
Create your own website with W3Schools Spaces - no setup required
Test your skills with different exercises
Test yourself with multiple choice questions
Document your knowledge
Create a free W3Schools Account to Improve Your Learning Experience
Track your learning progress at W3Schools and collect rewards
Become a PLUS user and unlock powerful features (ad-free, hosting, support,..)
Not sure where you want to start? Follow our guided path
With our online code editor, you can edit code and view the result in your browser
Learn the basics of HTML in a fun and engaging video tutorial
We have created a bunch of responsive website templates you can use - for free!
Host your own website, and share it to the world with W3Schools Spaces
Create your own server using Python, PHP, React.js, Node.js, Java, C#, etc.
Large collection of code snippets for HTML, CSS and JavaScript
Build fast and responsive sites using our free W3.CSS framework
Read long term trends of browser usage
Test your typing speed
Learn Amazon Web Services
Use our color picker to find different RGB, HEX and HSL colors.
W3Schools Coding Game! Help the lynx collect pine cones
Get personalized learning journey based on your current skills and goals
Join our newsletter and get access to exclusive content every month
Contact us about W3Schools Academy for educational institutions
Contact us about W3Schools Academy for your organization
About sales: [email protected] About errors: [email protected]
示例说明
位置说明
输出说明
语法解释
语句解释
注释解释
变量解释
算术运算解释
赋值解释
连接解释
数据类型解释
对象解释
函数解释
事件解释
字符串解释
数字解释
数字方法解释
数学解释
随机数解释
日期解释
数组详解
数组方法详解
数组排序详解
数组迭代详解
类型转换详解
布尔值详解
比较详解
条件语句详解
循环详解
错误详解
正则表达式详解
对象属性解释
JSON 对象属性解释
JSON 数组解释
JSON 解析解释
JSON 字符串化解释
JSON PHP 解释
JSON HTML 解释
JSON JSONP 解释