Home >Web Front-end >HTML Tutorial >What is it for? _html/css_WEB-ITnose

What is it for? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:00:47923browse

What is the difference between

*number
and
*number

?


Reply to discussion (solution)

*number
There is no difference from
*Number
. I feel that I might want to set the * number to another color, so I added a span

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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn