Can HTML5 be used to build websites on mobile phones achieve good display on various devices? -

Source: Internet
Author: User
0 reply content: Yes, either theoretically or practically.

The problem is how much energy you are willing to spend, So I think of a picture:
图片引用于互联网. Images are referenced on the Internet. it is precisely because, after the popularization of mobile devices, the workload for proper design and configuration has increased dramatically. Therefore, the corresponding "responsive layout" concept has emerged in the field of practice, that is to say, according to the device size difference, the page dynamically responds and changes the website layout.

In principle, the size and position of different sections on the webpage are automatically calculated based on the device size.

For example, this website uses the "liquid design" technology. You can narrow down the browser window, change the window size, and observe the page changes.
Simon Collison
You will find that the page design will be very large and automatically adjusted, such:
不仅图片的尺寸会自动调整,甚至网页大块的布局也会随之变化,是不是很神奇。这样一来,就实现了在不同尺寸的浏览器中最大程度的保留了设计者的版式语言。 Not only will the image size be automatically adjusted, but even the layout of a large part of the webpage also change. Is it amazing. In this way, the designer's layout language is retained to the maximum extent in browsers of different sizes.

I am afraid it is still a cutting-edge and cutting-edge field, but I believe that in the mobile Internet era, technology and market factors will promote this design method to become a new standard or standard. Of course, because the browsers of various devices are not very different, it is very convenient for the system to follow the unified W3C standard. However, if you already have a PC-side website and then develop a mobile phone, it is no longer a good method. Currently, some companies can directly adapt PC websites to mobile phones, you can first learn about the technologies of Nanjing tianghe Shi company. In theory, it can be well presented on various devices.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.