在本文中,我们将使用
标签添加一个换行符。它用于给出单行中断。它是空标签,所以它不包含结束标签。
句法:
示例 1:此示例使用
标记来换行。
How to defines a
single line break?
GeeksforGeeks
HTML5: How to defines
a single line break?
GeeksforGeeks:
Computer science portal
输出:
示例 2:此示例使用 br 类来换行。
How to defines a
single line break?
GeeksForGeeks
HTML5: How to defines
a single line break?
This page shows different
break height between
Hi User
Welcome to
Geeks for geeks.
Hope you have enjoyed your stay.
输出: