Home > Article > Web Front-end > The difference between HTML5 interview questions on PC and mobile
Personally, I think the positioning of the PC terminal is the user's visual browsing route, which can display more content, while the positioning of the mobile Internet terminal is portability. This article mainly shares with you an introduction to the differences between the PC version and the mobile version of HTML5 interview questions. Friends who are interested can refer to it. I hope it can help you.
1. Concept
1. What is the difference between PC and mobile terminals
From From a personal point of view, I think the positioning of the PC terminal is the user's visual browsing route, which can display more content, while the positioning of the mobile Internet terminal is portable, embodying the concept of "Anyone Anytime Anywhere". It is not a device that replaces the PC. , to be precise, it is a supplement to PC, which allows people to make good use of their fragmented time. Below, I analyze the differences between them from 4 aspects.
1) Interface layout. The screen sizes of the PC and mobile terminals are different, resulting in differences in the displayed content. The mobile screen is relatively narrow and usually displays in a single column, or at most it can only be dual column + responsive. However, the PC screen is larger and the layout can be more flexible.
2) Usage habits. The operation scale of the mobile terminal is relatively large, and the click error is large, so buttons, links and other elements are designed to be larger. The operation scale on the PC side is relatively small, and clicking with the mouse is a more accurate thing, so the buttons or links can be slightly smaller when designing styles. For example, the PC version and mobile version of Taobao website. In the PC version of Taobao page, there are some functions that can be put down with small buttons, but in the mobile version, a pop-up window is required for the user to input details.
3) Network speed. Mobile phone networks are generally 2G\3G\4G\WIFI, etc. The loading speed of web pages will affect the user experience and consume user traffic, so use less pictures, animations, JS, etc., while PC networks are generally connected to broadband or WIFI and PC users generally do not consider the traffic consumed by the page, so they generally do not need to consider loading issues.
4) Technical level. For mobile development, some libraries such as jquery for mobile are dedicated and not suitable for PC. Of course, conversely, some PC-side tools or technologies are not easy to use on the mobile side. PC applications focus more on the backend, big data, and algorithms, while mobile applications focus more on how to interact and experience better.
Summary: I feel that mobile terminal development is better, because mobile terminals have more direct contact with users, and will be more widely used in the future. There are relatively few compatibility needs to be considered, and the implementation at the technical level is relatively Simple, after all, mobile is the general trend and will be used more and more in the future.
Related recommendations:
10 high-frequency HTML5 interview questions
What aspects should be paid attention to in the page structure of html5
HTML5 Web Worker usage example tutorial
The above is the detailed content of The difference between HTML5 interview questions on PC and mobile. For more information, please follow other related articles on the PHP Chinese website!