Hello, everyone. I am a beginner. Which tag is better to choose when making web pages with html5?

is that in some places, you can use either this tag or another tag. How can you choose better?

Jul.31,2021

h5 tags are semantic tags, according to their own needs, the most commonly used is div, and other


is generally three steps, header,section,footer


general projects do not require compatibility with individual browsers that do not even support HTML5 tags, try to use more semantic tags. As for the specific use, it depends on your own understanding. It doesn't matter if you are not familiar at first, but you can switch to div tags (without any semantics). Take your time. In addition, it is important to note that the initial styles of different semantic tags are different in different browsers. If there is no UI framework, remember to do CSS Reset. Tag semantics can refer to a few more projects of MDN, to get a general idea of it.


ide/HTML/HTML5/HTML5_element_list" rel=" nofollow noreferrer "> https://developer.mozilla.org.


use div+css first, then look at the semantic tags, step by step.

Menu