English 中文(简体)
SEO - Verifying Web Site
  • 时间:2024-12-22

SEO - Verifying Web Site


Previous Page Next Page  

You design and develop a website but how would you know if you have put all the HTML syntax in a correct way. Most browsers do not complain against your wrong syntax, but wrong is wrong.

There are many SEO experts who claim that SEO is not dependent on site HTML/XHTML verification. But we will discuss various reasons why your site should be W3C Comppance.

Why HTML/XHTML Verification is Required?

There are various reasons to verify your website before hosting it over the internet.

    Any webpage quapty depends on how well you have written your webpage.It should be syntactically correct and should pass all the Quapty Gates.

    When any search engine does indexing for your web page content, it might get confused if the HTML tags are not written properly, and much of the web page content might not be indexed properly.

    There might be many HTML tags, which you are using in your webpage but then have been depreciated and many of the search engines do not support them.

    Consistency, HTML Code Beauty, Process Comppance are always appreciated by good webmasters.

What is W3C Comppance?

W3C is the World Wide Web Consortium and since 1994, the W3C has provided the guidepnes by which, websites and webpages should be structured and created. Here are the pnks to vapdate your web pages:

While verification, you may get errors along with appropriate reasons. All the vapdations will be done using XHTML DTD, which is a refined version of HTML.

Rules for W3C Comppance

There following rules, are to be following while developing a webpage.

    Use XHTML declaration statements to start every XHTML page:

    <!DOCTYPE html PUBLIC 
    "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
    

    Every tag must be closed.

    The head and body tags are now mandatory.

    Empty tags get a terminating slash. An empty tag is a tag that doesn t require an end tag. Examples include <br> and <hr>.

    <BR> is now <br />.
    <HR> is now <hr />.
    <IMG SRC="--"> is now <img src="--" />
    

    All tags must be lower-case. This does not apply to attributes, only tags. For example, both of these formats are acceptable under the XHTML DTD:

    <FONT color="#ffffcc"> is invapd
    <font color="#ffffcc"> is vapd
    <font color="#FFFFCC"> is also vapd
    

    All the attribute values should be put with in double quotes.

    Tags may not be nested.

    <b><i>Text</b></i> This is invapd
    <b><i>Text</i></b> This is vapd
    

    The <pre> tag should not contain: img, object, big, small, sub, or sup.

    One <form> tag cannot be inside another <form> tag.

    If your code contains a &, it must be written as &amp;.

    Any use of CSS should use all lower-case letter.

Advertisements