473,387 Members | 1,510 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Yet another SEO question related to HTML

Hi,
I know how annoying these SEO questions can get, but I was hoping someone could quickly answer mine <link removed>:

1)Is a certain way of coding using HTML better in terms of SEO?

2) What exactly is the difference btw XHTML and HTML? is one better than the other in terms of SEO?

3) Online tools say that my site: http://www.rblog.net16.net/
is NOT indexed. But when I type in the URL it appears on google, even though its not the first entry, even though the search should produce one unique result....
Is there a reason this occurs?

4)It appears the google robots have not crawled the site in ages since I have changed the description and title meta tags. I just wanted to confirm (as I have seen this question in another forum) that I DO NOT have to submit my site to google after I have edited the meta tags?
Sep 7 '10 #1
17 2023
londres9b
106 100+
1)Is a certain way of coding using HTML better in terms of SEO?
I'm not an expert on that but I guess not really. Except some things:
> Having unique, accurate page titles
> Using the meta tags description and keywords. Make sure the description is related to the actual page content and not general across all site.
> Using alt tags on images


2) What exactly is the difference btw XHTML and HTML? is one better than the other in terms of SEO?
XHTML is a "cleaner, stricter" version of HTML. (W3Schools)
It has these differences:
> All code (tags,..) must be in lowercase
> All elements must be closed and properly nested
> check the w3schools tutorial on XHTML

No, I think not. If your code has no errors or so it doesn't matter if it's HTML or XHTML.


3) Online tools say that my site: http://www.rblog.net16.net/
is NOT indexed. But when I type in the URL it appears on google, even though its not the first entry, even though the search should produce one unique result....
Is there a reason this occurs?
I've searched for your site and I couldn't find it.. :(
Yap, sorry, I found it on Google.. I don't know what's going on with your site. Try to use webmaster tools.
I recommend you submit your site to Bing (and Google.)If you don't yet use Google Webmaster tools, I recommend using it.


4)It appears the google robots have not crawled the site in ages since I have changed the description and title meta tags. I just wanted to confirm (as I have seen this question in another forum) that I DO NOT have to submit my site to google after I have edited the meta tags?
That doesn't make sense.. Of course you don't. Google will comeback to your site regularly.
Make use of the Google Webmaster tools to see what's going on with your site.

hope I helped. :)
Sep 18 '10 #2
drhowarddrfine
7,435 Expert 4TB
1) Yes and no. A book is easier to read if you use chapters, title and paragraphs. A web page is easier for search engines if you structure it the same.

2) XHTML is HTML reformulated using XML. It was developed for those who use XML data. But most people don't serve XHTML as XHTML and the browser interprets it as broken HTML anyway ("tag soup"). So anyone who claims XHTML is better than HTML in any way doesn't understand all the technicals behind that.

Neither is better or worse for SEO because the engines look for tags.
Sep 18 '10 #3
Did you ever give a thought about semantic html? If your html is semantically correct, then yes, your html is good for SEO. That means appropriately using <h> tag, understanding the between <b>and<strong>tags. There are quite lot of such subtle difference between semantically sound html and bad html.
Nov 25 '10 #4
Use the right doctype then it doesn't matter if you use HTML or XHTML. The doctype is very very important for search engines because that is how they know best if they are reading html or xhtml(so does the browser!).

And Johnsei mentioned it but semantic html is also pretty important for search engines. Use header-tags for headers, paragraph-tags for paragraphs and tables for tabulair data(and not structuur!), divisions on websites are made with the div-tag.

B.
Dec 2 '10 #5
drhowarddrfine
7,435 Expert 4TB
No, the doctype means nothing to search engines. Nor do they care whether you use HTML or XHTML. They view the structure and content of the page only. While XHTML does allow custom tags and attributes, search engines will ignore those since they are undefined for the most part.
Dec 2 '10 #6
Search engines doesn't look at doctype anymore? they used to?

But how do they recognise the structure then?
Dec 2 '10 #7
drhowarddrfine
7,435 Expert 4TB
Search engines never looked at doctype. The structure is never different because of that. <h1> is <h1> no matter what doctype you use.
Dec 2 '10 #8
But how do you know where the title stops, or does your title dont stop?
Dec 2 '10 #9
drhowarddrfine
7,435 Expert 4TB
In xhtml, title ends with an end tag. In html, it ends at the next left arrow bracket.
Dec 2 '10 #10
Death Slaught
1,137 1GB
@drhowarddrfine
So you're saying that XHTML shouldn't be used in place of HTML, let's say, just because the syntax is cleaner?
Dec 2 '10 #11
drhowarddrfine
7,435 Expert 4TB
No. I'm saying it doesn't matter. Besides, most people don't serve XHTML as XHTML and only as HTML.
Dec 3 '10 #12
Death Slaught
1,137 1GB
Ah okay, I always XHTML Strict because the code is cleaner and forced ending tags. I don't use XML, but as long as it doesn't really matter, I don't care.
Dec 3 '10 #13
@drhowarddrfine, just trying to make it clear to myself:
Expand|Select|Wrap|Line Numbers
  1. <h1>This is a <strong>title</strong>
So in this example the title stops at "title"?
Dec 3 '10 #14
drhowarddrfine
7,435 Expert 4TB
I don't know what point I was trying to make cause that doesn't make sense. Where an element starts or ends is the same in both html and xhtml in most cases. xhtml always requires an end tag while html does not in all cases but it doesn't matter to search engines.

You guys need to read through Henri Sivonen's explanation of doctypes to get a better feel for this, especially the part on parsing.
Dec 3 '10 #15
@drhowarddrfine
"In html, it ends at the next left arrow bracket."
My example derived from this quote. Thats why I was trying to make it clear to myself because that would idd make no sense ;)

Gonna read the article, thanks.
Dec 3 '10 #16
Death Slaught
1,137 1GB
Sorry, I was in a hurry and wasn't being very specific. I was trying to ask why using the XHTML doctype for non-xml markup (just HTML) made a difference. I usually prefer it just for the forced ending tags - to me it is cleaner and more structurally sound.

As usual you have the provided the answer ^_^ XHTML with just text/html data, is servered as tag soup with extra slashes. The same parser for HTML is used, and is pointless to use without xml data.


Thanks, Death
Dec 3 '10 #17
Oh good, finally something I feel reasonably like an expert in!

1)There are certain things to code to make it show up more on a search engine, yes, most of which have all already been mentioned here. Another one you can add are titles on your anchor tags, if you have any, and you should make sure your page validates - webcrawlers/robots aren't as smart as browsers, so they may ignore sections of your text if not nested properly, etc, sometimes.

If you have a lot of scripts running on your page, you should have them saved externally and linked in - spiders often only index the first so many lines of a page, so you want your important content as close to the top as possible.

The text itself is a huge one, and with the growing popularity of social media marketing and linking, arguably the most important. Pages you want indexed should have 250 words + of text, with your keywords mentioned a few times BUT NOT TOO MANY (robots can tell when you're weighting!) for density purposes. The very best thing you can do is have good, understandable copy on your page.

Sometimes, though, what you DON'T do is most important in SEO. Make sure you avoid doing anything the engine might consider cheating or stacking the deck - divs with display:hidden full of keywords, white text on white background, etc.

To be honest, though, while yes, you should obviously optimize for SEO, it's not as important as it once was. Proper social media marketing can be much more effective; as more and more people get their links and new pages from twitter, facebook, digg, etc, a good recommendation from some one with a decent amount of followers can cascade into thousands of hits.

So, in short, I'd code with SEO in mind but don't go too far out of your way unless you're being specifically contracted for SEO on the site and can work a good chunk of billable hours on it. (There are always ways of weighting your page, but spiders and getting smarter and smarter so you have to be sneakier and sneakier.)
Dec 4 '10 #18

Sign in to post your reply or Sign up for a free account.

Similar topics

34
by: Niels Berkers | last post by:
Hi, i'd like to host my web pages using multiparts to reduce the number of hits on the server. i know this isn't a real PHP subject, but i'll try it anyway. i've been searching the web for...
1
by: Mark Richards | last post by:
Assume I have downloaded a couple of related html web pages with (locally transformed) links between them. Now I want to put all these html source files into ONE *.pdf or *.chm file. All the links...
26
by: Dave Patton | last post by:
http://members.shaw.ca/davepatton/gps.html In another newsgroup(related to GPS), in regards to the above page, someone said:...
3
by: Jason | last post by:
I am trying to filter records in a primary form based on records in related tables. The data in the related tables is being displayed in the primary form through subforms. To be more specific, I...
4
by: J Huntley Palmer | last post by:
How may I setup a proper HTML mail message with embedded href links using PHP, that follows all the MIME rules? Any examples or links would be appreciated. Thanks!
0
by: Gawn | last post by:
Dear all, Greeding from Thailand. Need help for my news script. I am trying to display news which keywords match the current page keywords. I am using Dreamweaver 8 and PhpMyAdmin to manage MySQL....
5
by: Ansuiya | last post by:
I m anu ,new to this site.. Well i have a query related HTML.Can any one please tell me if there are any new features introduced in HTML and they should b validated by w3c. Thanx
10
by: Roderik | last post by:
Hi, This is a folluw-up from the html group because it was considered off-topic there. I am wondering why (half of the) squared images are not aligned on the right of the text in Internet...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.