The BR object represents an HTML <br> element.
You can access a <br> element by using getElementById():
You can create a <br> element by using the document.createElement() method:
Property | Description |
---|---|
clear | Not supported in HTML5. Use style.clear instead. Sets or returns the flow of text around floating objects |
The BR object also supports the standard properties and events.
HTML reference: HTML <br> tag
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!