In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains the "html5 newline mark how to write", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's train of thought slowly in depth, together to study and learn "html5 newline mark how to write" it!
In html5, the newline tag is "
"you can insert a simple newline character in an HTML document, and the content after the tag will start on the next line. Br tags can be written in three ways:"
",", "", "
The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.
In html5, the newline tag is "
".
The tag is an empty tag (no element content), and some people call it a single tag (no closing tag).
The tag can insert a simple newline character in the HTML document, and the content after the tag will start on the next line.
Example:
HTML br tag
I am a test text! I am a test text! I am a test text!
I am a test text!
I am a test text! I am a test text!
Description:
There are three ways to write a label that will not be wrong, that is,
, these three ways of writing.
In xhtml, like
Similar single tags need to use "/" to close themselves, such as:, there is no such way of writing, but it will not report an error in html. Although all three ways of writing are OK, it is recommended that they be written as
Or more rigorous.
If it is in xhtml, it must be written as or
.
Thank you for your reading, the above is the content of "how to write html5 newline marks". After the study of this article, I believe you have a deeper understanding of how to write html5 newline marks, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.