HTML . .
The element is a semantic in-row element that groups elements so that they appear in different styles, refer to the following example:Color a portion of the text using the element:
Try it out . . .
Browser support
All major browsers support the hashtag.
Label definition and instructions for use
Used to combine in-line elements in a document.
The label does not appear in a fixed format. W hen a style is applied to it, it produces a visual change. I f you don't apply a style to the .lt;span; element, there will be no visual difference between the text in the element and the other text.
Labels provide a way to separate parts of text or parts of a document.
Tip: You
can apply the class or id property to the same element, but more often, only one of them is applied.
The main difference between the two is that class is used for element groups (similar elements, or can be understood as a class of elements), while id is used to identify individual, unique elements.
Tips and comments
Tip: The text contained in the element, you can use CSS to define a style for it, or javaScript to manipulate it.
The difference between HTML 4.01 and HTML5
NONE.
Global properties
The label supports the global properties of HTML.
The event property
The tag supports the event properties of HTML.