From my 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, which embodies 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 the mobile terminal has more direct contact with users and will be more widely used in the future. There are relatively few compatibility issues that need to be considered. The implementation at the technical level is relatively simple. After all, the mobile terminal is The general trend is that it will be used more and more in the future.
The above is the editor's introduction to the differences between the PC and mobile terminals of HTML5 common interview questions. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for your support of the VeVb martial arts website!