Home >Web Front-end >HTML Tutorial >What is it for? _html/css_WEB-ITnose
What is the difference between
Inline text tags
Speaking of functions, in fact, most tags can be implemented using divs (just adjust their css)
But html requires a semantic definition
For example, for the title, we use h
for the menu, we use li
etc.
Like your code, this will not be harmful if left in place. When you control it with css in the future, you can set span A little style (such as span{color:red}) like this
The text in all span tags is all red
added to control the page style.