HTML DOM BR Nesnesi
BR Nesnesi
BR nesnesi bir HTML <br> öğesini temsil eder.
Bir BR Nesnesine Erişin
Bir <br> öğesine getElementById() kullanarak erişebilirsiniz:
Örnek
var x = document.getElementById("myBR");
Bir BR Nesnesi Oluşturun
Document.createElement() yöntemini kullanarak bir <br> öğesi oluşturabilirsiniz:
Örnek
var x = document.createElement("BR");
BR Nesne Özellikleri
Property | Description |
---|---|
clear | Not supported in HTML5. Use style.clear instead. Sets or returns the flow of text around floating objects |
Standart Özellikler ve Etkinlikler
BR nesnesi ayrıca standart özellikleri ve olayları da destekler .
İlgili Sayfalar
HTML referansı: HTML <br> etiketi