Home >Web Front-end >HTML Tutorial >HTML basic summary recommendations (paragraph)
HTML Paragraphs
Paragraphs are defined through the
tag.
Example
This is a paragraph
This is another paragraph
is deprecated in HTML4/5. Please use CSS instead. Paragraph supports event properties and global properties
Text alignment in paragraph
March 14, 2015
“When I was young, I dreamed of changing the world. ; When I matured, I found that I could not change the world, so I shortened my vision and decided to only change my country; when I entered my twilight years, I found that I could not change our country, and my last wish was just to I want to change my family, but that's impossible, too. As I lie on my deathbed, I suddenly realize: If I had only changed myself first, then I would have changed my family; With your help and encouragement, I might do something for my country; and then, who knows? I might even change the world.”
Note: Resize your browser window to see how "justify" works.
Description
left
Left aligned text
Right aligned text. | |
Center align text. | |
Stretch the rows so that each row has equal width (like in newspapers and magazines). | |
HTML Line Wrapping | If you want line breaks (new lines) without creating a new paragraph, use the |
element is an empty HTML element. Since a closing tag doesn't make any sense, it doesn't have a closing tag. |
Note that browsers ignore typography in source code (extraneous spaces and line breaks are omitted).
The night comes wind and rain, Whispering Colour.
Note that browsers ignore typography in source code (extraneous spaces and line breaks are omitted).
The above is the content of the HTML basic summary recommendation (paragraph). For more related content, please pay attention to the PHP Chinese website (www.php.cn)!