<p>Use the<p> <p>##Dreamweaver newline characterThe newline character used in Dreamweaver is <p>
tag in Dreamweaver to create line breaks and insert them through the menu, shortcut keys or direct typing. Can be combined with CSS styles to create empty rows of specific heights. In some cases, it is more appropriate to use the <p> tag instead of the
tag because it automatically creates inter-paragraph blank lines and applies style control.
tag, which is used to create new lines in HTML documents. Unlike other HTML elements,
does not require a closing tag and can be used alone.
<p>Using tags
In Dreamweaver, you can use the following method to insert the <p> tag :
directly in code view.
<code class="html"><h1>标题</h1> <p>第一行<br>第二行</p></code>
tag in conjunction with CSS styles. For example, the following code creates an empty row with a height of 50 pixels:
<code class="html"><br style="height:50px;"></code>
tags instead of
tags
In some cases, it is more appropriate to use the <p><p> tag instead of the
tag.
<p> tags automatically create empty lines between paragraphs and can apply styles such as text alignment and line height.
<p>Conclusion##<p>
tag can provide more flexible and controllable line wrapping.
The above is the detailed content of What is dreamweaver line break?. For more information, please follow other related articles on the PHP Chinese website!