About 54 results
Open links in new tab
  1. HTML 5: Is it <br>, <br/>, or <br />? - Stack Overflow

    Dec 22, 2009 · Simply <br> is sufficient. The other forms are there for compatibility with XHTML; to make it possible to write the same code as XHTML, and have it also work as HTML. Some systems …

  2. html - What does <br/> do exactly? - Stack Overflow

    May 14, 2016 · Can anyone explain what &lt;br /&gt; does to the page? The result is unexpected. I tested the code on the latest version of Chrome and Firefox, the result is the same on both browsers. …

  3. html - Is it sometimes bad to use <BR />? - Stack Overflow

    Nov 12, 2009 · 32 Generally, <br/> is an indication of poor semantic HTML. The most common case is using <br/> to declare paragraph separations, which there are much better ways to do it …

  4. xhtml - HTML: What's the correct form of BR? - Stack Overflow

    Explore the correct usage of <br> and <br/> in HTML, including differences, compatibility, and best practices for web development.

  5. html - Can you target <br /> with css? - Stack Overflow

    Technically, yes, you can target a <br> element with CSS directly or by applying a class to it and targeting the class. That being said, a <br> generates a line-break and it is only a line-break.

  6. Как правильно писать тег BR? - Stack Overflow на ...

    Dec 7, 2014 · Для <br> нужно где-то хранить (а разработчику — зазубривать наизусть) список тегов, в котором будет записано, что br является одиночным. Поэтому лучше писать именно …

  7. regex - JavaScript replace \n with <br /> - Stack Overflow

    JavaScript replace \n with <br /> [duplicate] Asked 14 years, 11 months ago Modified 6 years, 7 months ago Viewed 279k times

  8. html - Difference between DIV and BR - Stack Overflow

    May 7, 2023 · The div and br tags have different purposes and are used in different contexts. The div tag is used to group together related HTML elements and create a block-level container.

  9. <br> or </br> which one we should use for line break?

    Aug 27, 2023 · 2 <br> or </br> Which one should we use for a line break? Furthermore, which is correct <hr /> or <hr> I tried both tags, and it shows the same results. Nevertheless, I am perplexed as on an …

  10. How to use <br> multiple times in HTML - Stack Overflow

    Learn how to use the <br> tag multiple times in HTML for line breaks and spacing effectively.