Before writing a page with good compatibility, you must first learn HTML and HTML5, and then have a certain grasp of CSS and CSS3. Under normal circumstances, after different types of websites have been carefully typesetting, they will have a certain degree of mastery of the front end, and writing static pages will not be a big problem. As for the number, it’s more than 3 complete websites. Reminder: If you want to write a page with very good compatibility, js is indispensable. This is a bit difficult for beginners to learn the front-end, but don’t be timid. Follow the learning progress and learn HTML first. +CSS, and then learn HTML5+CSS3. After learning a certain program, you can then learn javascript. Even if you are self-study, you can definitely learn HTML+CSS in about 2 months and javascript in one month. If you still don’t know the above, go and learn: HTML video tutorial, HTML5 tutorial, CSS video tutorial, CSS3 video tutorial, javascript video tutorial. Having said too much, let’s talk about how to write a web page with good compatibility: 1. Document declaration is indispensable: In fact, this has nothing to do with WCAG
1. Old driver teaches you how to write a page with good compatibility
Introduction: If you want To write a page with very good compatibility, js is essential. This is a bit difficult for people who are new to front-end, but don’t be timid. Learn according to the learning progress. Learn HTML+CSS first, and then Learn HTML5+CSS3, learn a certain program, and then come into contact with JavaScript. Even if you are self-study, you can definitely learn HTML+CSS in about 2 months and JavaScript in one month.
2. How to solve the problem of using execCommand(_javascript in JavaScript
Introduction: This article mainly introduces how to solve the compatibility problem of using execCommand ("SaveAS") to save pages in JavaScript. It is designed to solve the execCommand compatibility problem. Interested friends can refer to this article. Article
[Related Q&A recommendations]:
The above is the detailed content of Recommended articles about page compatibility. For more information, please follow other related articles on the PHP Chinese website!