Results 1 to 8 of 8
June 27th, 2007, 09:38 AM #1What is valid HTML
Ok here is the deal. I am designing a new site and want to get as many thing right from the beginning as I can.
So I got a few pages finished and went to http://validator.w3.org/ and gave it my URL. When it check the site it found errors. No big deal I can fix them.
I'd really like to know two things with respect to valid HTML and SEO.
First, what is the difference between the following tags.
<br> and <br/>.
Which is considered valid and which is not. The W3C HTML Validator said <br> was wrong and thus not valid. But the is what my html editor put in for a line break.
Second which is better to use for SEO
June 27th, 2007, 09:45 AM #2
June 27th, 2007, 09:45 AM #3
The difference is that the <br> is the old way of using a line break. The new way is <br />. Some tags change in HTML coding, and that is one of them. Same thing for using bold. It's now <strong></strong> instead of <b></b>.
As far as SEO is concerned, I doubt there is any difference, but I'd stick with the newer tag of <br /> just to stay up to date on things.
June 27th, 2007, 09:59 AM #4
- Join Date
- September 25th, 2006
I use the old <br> tag on my site, and the same validator didn't seem to have a problem with it. From an SEO standpoint I seriously doubt there is any difference between <br> & <br/>
Also, most browsers will interpret the <b></b> correctly (that I am aware of).
June 27th, 2007, 10:05 AM #5Originally Posted by SeymourButts
What is the difference between HTML and xHTML?? Just a newer standard?
June 27th, 2007, 10:08 AM #6
- Join Date
- January 18th, 2005
- Nunya, Business
"Second which is better to use for SEO"
Has nothing to do with SEO, lots of old threads on this. Video of Matt Cutts saying it's not part of the algo, examples of all the search engines not validating and most major sites.
As to what to use. Whichever one looks good in the browser. And there were also recent threads in the last view days that if your affiliate site validate, it's probably not tracking on a couple of networks.
Because you have to make changes to some of those affiliates links to get them to validate but those changes could cause tracking problems. How I read it.
June 27th, 2007, 10:31 AM #7
Validation does help in a couple areas though:
1. It makes pages more likely to look the same across all browsers. Your pages may still look different in Firefox and IE, but valid code makes problems less likely and easier to fix.
2. It makes things make a bit more sense. If you are using the same tags in the same way over and over, it is easier to see what is going on with your code at a glance and identify problems.
Of course, some "valid" HTML is just silly, like the difference between <br> and <br/>.Jason Rosenbaum
June 27th, 2007, 06:45 PM #8
There are specific standards for each DOCTYPE declaration. You should not use <br /> if your DOCTYPE is not XHTML. The DOCTYPE declaration tells browsers how to interpret the page.
Like Mindsprinter says, if your pages validate they will look the same on a wider range of browsers and resolutions.