|
|||||||
Join now to download all the free website templates or post on the forum. If you have never been on a forum before read the
FAQ. It's quick, easy and free to join!
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Depending on which DTD (Document Type Definition) you have in the top of your page determines which style to use.
<br> - Is HTML complaint. <br /> - Is xHTML complaint they are stand alone tags, just like the <hr> tag creates a horizontal line in an HTML page. example Code:
<p>YourName<br>123 Street<br>Some Town</p> YourName 123 Street Some Town
__________________
cleandeck - lawn mower undercoating and wilmargraphite - graphite lubricants |
|
||||
|
The following is the Doc Type
Am taking it that it will be <br /> When validating its coming up with a problem with the <br /> tags so am a bit unsure why now. There is no opening tag I take it? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
||||
|
Ok took html through html tidy and that found no problems, so re-validated it and its come up with no problems
which is wierd as havent made any changes to it since last validated and it came up with errors But aslong as its clean thats the main thing Thanks for the help is appreciated Angie |
![]() |
| Thread Tools | |
| Display Modes | |
|
|