Solved

W3C and the Line break <br>

Posted on 2006-07-18
2
302 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Save ms data to server side. 19 55
Expand HTML tables without having to click on it 17 56
CSS Style Effect 2 10
I'm a Human captcha checkbox 13 23
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Find out what you should include to make the best professional email signature for your organization.
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ā€¦
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

829 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