Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 108223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:52:41+00:00 2026-05-11T01:52:41+00:00

I continuously find places where I need to use the <br /> tag because

  • 0

I continuously find places where I need to use the <br /> tag because CSS can’t do what I need. Isn’t the <br /> considered part of the ‘design’ and not part of document structure? What is the acceptable usage for it? Should the same rules also apply to the <hr />?

Here is an example of where I feel forced to use the <br /> tag:

I want to display this:

<address>1234 south east Main St. Somewhere, Id 54555</address>

like this:

 1234 south east main st. Somewhere, Id 54555 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T01:52:41+00:00Added an answer on May 11, 2026 at 1:52 am

    There is nothing wrong with using <br /> or <hr />. Neither of them are deprecated tags, even in the new HTML 5 draft spec (relevant spec info). In fact, it’s hard to state correct usage of the <br /> tag better than the W3C itself:

    The following example is correct usage of the br element:

    <p>P. Sherman<br>
    42 Wallaby Way<br>
    Sydney</p>

    br elements must not be used for separating thematic groups in a paragraph.

    The following examples are non-conforming, as they abuse the br element:

    <p><a …>34 comments.</a><br>
    <a …>Add a comment.<a></p>

    <p>Name: <input name=’name’><br>
    Address: <input name=’address’></p>

    Here are alternatives to the above, which are correct:

    <p><a …>34 comments.</a></p>
    <p><a …>Add a comment.<a></p>

    <p>Name: <input name=’name’></p>
    <p>Address: <input name=’address’></p>

    <hr /> can very well be part of the content as well, and not just a display element. Use good judgement when it comes to what is content and what is not, and you’ll know when to use these elements. They’re both valid, useful elements in the current W3C specs. But with great power comes great responsibility, so use them correctly.

    Edit 1:

    Another thought I had after I first hit ‘post’ – there’s been a lot of anti-<table> sentiment among web developers in recent years, and with good reason. People were abusing the <table> tag, using it for site layout and formatting. That’s not what it’s for, so you shouldn’t use it that way. But does that mean you should never use the <table> tag? What if you actually have an honest-to-goodness table in your code, for example, if you were writing a science article and you wanted to include the periodic table of the elements? In that case, the use of <table> is totally justified, it becomes semantic markup instead of formatting. It’s the same situation with <br />. When it’s part of your content (ie, text that should break at those points in order to be correct English), use it! When you’re just doing it for formatting reasons, it’s best to try another way.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I develop my project at ~/Dropbox/db/. I need to move the folder continuously to
I continuously find myself having to write timed windows services that poll outside queues
In my apps i find the need to have infinite while loops mostly to
I'm using mongoose in a script that is not meant to run continuously, and
I've read many of the posts regarding this issue and I can't find one
We need to find a .NET CMS system that does well in handling external
I've been searching the net for answers but I can't seem to find a
Suppose I have a sequence x1,x2,x3.....xn, and I want to find the longest continuous
I am continuously getting an Access Violation Error with a all my kernels which
I am continuously getting that error, and it's driving me crazy! Undefined symbols for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.