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]
语法说明
注释说明
变量解释
Echo 和 Print 解释
数据类型解释
字符串解释
数字解释
数学解释
常量解释
运算符解释
条件解释
循环解释
函数解释
数组解释
多维数组详解
数组排序详解
超全局变量详解
正则表达式详解
表单验证详解
日期和时间详解
包含文件详解
文件处理详解
文件打开/读取/关闭详解
Cookies 详解
会话详解
过滤器详解
PHP JSON 详解
PHP 异常详解
PHP OOP(类/对象)详解
从 MySQL 中选择数据详解
SimpleXML 解析器详解
XML Expat 解析器详解