Is HTML5 only suitable for mobile layout and typesetting?

I found that H5 tags are rarely used in PC page layout. Why? Is H5 only suitable for mobile layout?

Jun.12,2021
The difference between

h5 and h4 is the same as es6 and es5, except that the version is upgraded, and the new tag is like the new syntax feature in es6. As for why h5 tags are rarely used on the pc side, first of all, it is not rare for the PC side to use the h5 tag, and the reason for not using it is more to consider the compatibility of the browser. It is recommended to go to Baidu to see what new features have been added to the h5 and what is the compatibility.


HTML5 is more suitable for mobile layout because the REM layout (adaptive layout)
rem (font size of the root element) is the unit of font size relative to the root element. To put it simply, it is a relative unit. And the reason why the PC side does not use H5 tags in large quantities is due to the compatibility of IE browsers, not because of its typesetting and layout factors.

here is a HTML5 development kit , you can download and try it. Through the demo program and code, I believe you will have a new understanding of HTML5.


here are some additions to the introduction upstairs. Corrections and suggestions are welcome.
Html5 rem layout and flex layout on the mobile side of the browser support is very high can be used, for the PC side, need to be compatible with IE, so abandon the flex layout, as for the upstairs side of the PC side does not use a large number of H5 tags, I add a compatibility plug-in for H5 tags html5shiv.js can solve this problem.

Menu