HTML
The label represents a paragraph of text, which is usually represented in visual media as a block of text, a block-level element.The following code marks a paragraph:
Try it out . . .
(At the bottom of the page, you can find more instances)
Browser support
Most browsers currently support the hashtag.
Label definition and instructions for use
The label defines the paragraph.
The element automatically creates some white space before and after it. The browser automatically adds this space, which you can also specify in the style sheet.
Note: Labels and labels have a new line, the difference is that the label is a large line change (segmentation), and the label is a small liner.
The difference between HTML 4.01 and HTML5
The align property of the label in HTML 4.01 is obsolete and is not supported by HTML5.
Property
属性 | 值 | 描述 |
---|---|---|
align |
left
right center justify |
HTML5不支持。 HTML 4.01已废弃。 不赞成使用。请使用样式取代它。规定段落中文本的对齐方式。 |
Global properties
The label supports global properties and views the full property sheet HTML global properties.
The event property
The label supports all HTML event properties.
Related articles
HTML tutorial: HTML paragraphs