The rule in HTML is that there is no ending character for the br, but in XHTML, the rule is that the start tag of the br is followed by the end tag. For details, see answer from stackflow:
Simply
Is sufficient.
The other forms are there for
How to use BR in HTML? How is the BR tag used? What does a br tag do? Today, I will give you a good analysis of this simple and practical small label.
Syntax:
If there is a place to force a line break, we can use the BR tag.
BR Instructions for
Floating | tips | Web page
Let's take a look at how BR plays "clear float". Use the following code
The following is a demo of the Code effects:
Run Code Box
br Topsy clears the floating The following line uses the Effect, why not give up trying
The rule in HTML is the BR empty tag, no terminator, but in XHTML, the stipulation is that the br/start tag is immediately followed by the end tag, please understand this
Answer from Stackflow: Simply is sufficient. The other forms are there
This article mainly explains the use of the BR tag for HTML paragraph text wrapping, and in one paragraph, the correct line wrapping can make the page more beautiful. Now let's take a look at this article about HTML paragraph text wrapping.
First,
How to generate a temporary br by checkout in git usage
Git casually used the git checkout ver_hash command a few days ago. When the result is pushed to the remote database, the message everything is up-to-date is displayed. The actual Shenma has
PHP adds the & lt; br & gt; label after each segment of multi-segment text returned from mysql. how does one indent the first line? The & lt; br & nbsp; & gt; tag is added after each segment of the string text returned by php from the mysql database.
PHP adds the & lt; br/& gt; label after each segment of multi-segment text returned from mysql. how does one indent the first line? The & lt; br & nbsp;/& gt; tag is added after each segment of the string text returned by php from the mysql database.
How can I exclude the regular expression & lt; br & gt; PHPcode & lt ;? Php $ str = 'IMG my B has 110www & lt; br & gt; has 110110 hao'; echopreg_replace ('/(img | 110 | B)/I', & quot; & lt; B & gt ;\1 {1} & lt;/how to exclude a regular expression
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.