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 7415361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:17:17+00:00 2026-05-29T07:17:17+00:00

Possible Duplicate: Why is <br> an HTML element rather than an HTML entity? Why

  • 0

Possible Duplicate:
Why is <br> an HTML element rather than an HTML entity?

Why is a line break in HTML an element <br> instead of an entity, such as &br;? In many ways it seems a bad fit to be an element (e.g. has a different node type attribute to normal HTML elements, is similar to &nbsp; in what it does).

  • 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. Editorial Team
    Editorial Team
    2026-05-29T07:17:20+00:00Added an answer on May 29, 2026 at 7:17 am

    From the spec*

    The br element represents a line break.

    While line breaks are usually represented in visual media by
    physically moving subsequent text to a new line, a style sheet or user
    agent would be equally justified in causing line breaks to be rendered
    in a different manner, for instance as green dots, or as extra
    spacing.

    br elements must be used only for line breaks that are actually part
    of the content, as in poems or addresses.

    So it states clearly that it is ok to style a line break as something else, thus justifying why it’s not an entity. It does make me think that there should be two ways of adding a line break – as an entity &br; or a tag <br>, thus giving the author flexibility over whether the line break is stylable or not. The statement above – equating use of line breaks in poems and addresses – is a bit of a broad brush if you ask me.

    *Not sure if it’s the spec, but it’s certainly a spec

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

Sidebar

Related Questions

Possible Duplicate: Fade HTML element with raw javascript Any one Know Javascript trick to
Possible Duplicate: How can I get an element's serialised HTML with PHP's DOMDocument? PHP
Possible Duplicate: javascript - shuffle HTML list element order After a little bit of
Possible Duplicate: Get selected element's outer HTML I want to alert the html of
Possible Duplicate: jQuery bind click ANYTHING but ELEMENT I have this HTML <div id=outer>
Possible Duplicate: Declare CSS style outside the “HEAD” element of an “HTML” page ?
Possible Duplicate: How do I determine an HTML input element type upon an event
Possible Duplicate: Get selected element's outer HTML I have this code : <html> <head></head>
Possible Duplicate: Get selected element's outer HTML I suspect this is a really stupid
Possible Duplicate: Regex Remove Images with style tag from Html PHP XML remove element

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.