Solved

W3C and the Line break <br>

Posted on 2006-07-18
2
288 Views
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
0
Comment
Question by:Robinsonx6
2 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 500 total points
ID: 17129065
Hi Robinsonx6,

Try

<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
0
 
LVL 2

Author Comment

by:Robinsonx6
ID: 17129085
chears i was having a mind blank thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now