W3C and the Line break <br>

Posted on 2006-07-18
Medium Priority
Last Modified: 2010-04-09
according to http://validator.w3.org/

i cant get the line break <br> to pass as W3 compliant, this is a pain as i need to get our site compliant for a contract, how can i get a line break without using the <p></p> which puts too much of a gap between the lines.

Urgent Please
Question by:Robinsonx6
LVL 43

Accepted Solution

TimCottee earned 2000 total points
ID: 17129065
Hi Robinsonx6,


<br />

Instead, as I remember the standards insist on opening and closing tags. This is effectively a self-closing tag so will pass the validator.

Tim Cottee

Author Comment

ID: 17129085
chears i was having a mind blank thanks

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question