It’s all the same If I am not wrong, old browsers do not recognize these newly added tags, so they use inline elements to deal with them. Therefore, one solution is to turn them into block elements so that they will not be in the The same line, so that the same effect can be displayed in both old and new browsers. Furthermore, it is to let the browser recognize the tag. The specific solution for adding new tags is:
IE8/IE7/IE6 supports document. For the tags generated by the createElement method, you can use this feature to allow these browsers to support HTML5 new tags. The code is as follows: