Yaa Rasulullah

HTML : Mengenal Tag <br> atau <br/>

 

Untuk mengenalinya bukalah platform blogger, klik POST, beri tanda check pada sembarang artikel lalu klik EDIT dan klik HTML. Maka muncullah kode HTML. Klik CTRL-F lalu ketik <br maka segera ditemukan tag <br> atau sering ditampilkan dalam bentuk tag <br/>.

Penggunaan

Penggunaan tag ini sebagai pemutus baris dalam paragraf. Tag ini sangat sering digunakan dalam HTML Editor setiap website. JIka membuat artikel memakai jendela Windows Live Writer, Anda harus klik "SUMBER" / "SOURCE."

A line break is marked up as follows:

This text contains<br />a line break.

Jika Anda klik COMPOSE pada jendela Blogger akan ditampilkan seperti dibawah ini : (sama seperti di halaman website)

This text contains
a line break.

 Try it yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The <br> tag is supported in all major browsers.


Differences Between HTML and XHTML

In HTML the <br> tag has no end tag.

In XHTML the <br> tag must be properly closed, like this: <br />.


Tips and Notes

Note: Use the <br> tag to insert line breaks, not to create paragraphs.


Standard Attributes

DTD indicates in which HTML 4.01/XHTML 1.0 DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.

The <br> tag supports the following standard attributes:

Attribute Value Description DTD
class classname Specifies a classname for an element STF
id id Specifies a unique id for an element STF
style style_definition Specifies an inline style for an element STF
title text Specifies extra information about an element STF

More information about Standard Attributes.


Event Attributes

The <br> tag does not support any event attributes.

More information about Event Attributes.


Your browser does not support inline frames or is currently configured not to display inline frames.


Event Attributes

The <br> tag does not support any event attributes.

More information about Event Attributes.


Your browser does not support inline frames or is currently configured not to display inline frames.


Stylus Studio® XML Development Environment

stylus

Stylus Studio® 2011 XML Enterprise Suite raises the bar for productivity in XML development tools. Millions of XML developers and data integration specialists turn to Stylus Studio's comprehensive and intuitive XML toolset to tackle today's advanced XML data transformation and aggregation challenges.

stylus

  • XML Pipeline Editor, Debugger and Code Generator
  • DataDirect XML Converters
  • XQuery Mapper, Editor, Debugger, and Profiler
  • XSLT Mapper, Editor, Debugger, Designer, and Profiler
  • Java and C# for .Net Code Generation
  • XML Schema Designer With Documentation Generator
  • XML Editor With Full XPath Integration

Download a free trial now

Tidak ada komentar:

Posting Komentar

Anda memiliki komentar tentang blog "Care about teaching our son"