"Reprint please retain the integrity of the content of the Wind network article, if you do not comply with this principle, we will retain the right to pursue legal responsibility"
<p> Label
Definitions and usage
<p> label defines the paragraph.
Differences between HTML 4.01 and HTML 5
In HTML 4.01, the use of the Align property is not favoured and is no longer supported in HTML 5.
Property
Standard properties
Class, Contenteditable, ContextMenu, dir, draggable, id, irrelevant, lang, ref, Registrationmark, TabIndex, template, For a complete description of the title, visit the standard properties in HTML 5.
Event Properties
Onabort, onbeforeunload, onblur, onchange, onclick, OnContextMenu, ondblclick, Ondrag, Ondragend, OnDragEnter, Ondraghttp://www.aliyun.com/zixun/aggregation/29841.html ">leave, OnDragOver, ondragstart, OnDrop, OnError, onfocus, onkeydown, onkeypress, onkeyup, onload, OnMessage, onmousedown, onmousemove, onmouseover, onmouseout, onmouseup , OnMouseWheel, OnResize, Onscroll, Onselect, onsubmit, onunload for a complete description, please visit the event properties in HTML 5.
Tiy instance
Simple paragraph
<html> <body> <p> This is the paragraph Wind network (www.ithov.com). </p> <p> This is the paragraph wind network. </p> <p> this is a paragraph. </p> <p> paragraph elements are defined by the P tag. </p> </body> </html>
This example shows how text in a paragraph element is displayed by the browser.
More paragraphs
<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" "Http://www.w3.org/TR/html4/loose.dtd" > <html> <body> <p> This paragraph In source code Contains many rows But the browser ignored them. </p> <p> This paragraph In source code Contains many rows But the browser ignored them. </p> <p> The number of lines in a paragraph depends on the size of the browser window. Adjusting the size of the browser window changes the number of lines in the paragraph. </p> </body> </html>
This example shows some default behavior for paragraph elements.
The question of "poetry"
<html> <body> Spring <h1> Spring </h1> <p> Spring sleep does not feel Xiao, Birds are heard everywhere. The sound of rain and wind in the night The flower falls to know how much. </p> <p> Note that the browser ignores typography in the source code (omitting extra space and wrapping). </p> </body> </html>
This example demonstrates some of the problems with HTML formatting.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.