SEO - Web site verification
SEO - Web site verification
Suppose you have designed and developed a website. But how do you know if all of your site's HTML syntax is correct? Most browsers don't complain about your incorrect syntax. But wrong is wrong, right?
There are many SEO experts who claim that SEO does not rely on HTML / XHTML verification of the website. However, why your site should comply with W3C standards is discussed below.
Why HTML / XHTML verification is necessary?
There are several reasons to verify your website before hosting it on the Internet:
1. The quality of any webpage depends on how well you write your webpage. It should be syntactically correct and pass all web standard tests.
2. When a search engine indexes the content of your web page, if the HTML tags are not written correctly, confusion can occur and many contents of the web page may not be indexed properly.
3. There may be many HTML tags that you have used on your webpage. But later they have been depreciated. Most search engines do not support them.
4. Consistency, the beauty of HTML code and process compliance are always praised by good webmasters.
What is W3C Compliance?
W3C is the World Wide Web Consortium. Since 1994, W3C has been providing various guidelines for the structure of websites and webpages. We must adhere to these guidelines when creating websites. Below is the link to verify your webpages:
1. HTML / XHTML file verification link according to W3C standard - HTML / XHTML Validator.
2. Link to verify CSS files in accordance with W3C standard - CSS Validator.
You may receive errors with appropriate reasons during verification. All validation will be done using XHTML DTD which is a modified version of HTML.
W3C compliance rules
The following rules should be followed during web page development
1. Use the XHTML declaration statement to start each XHTML page:
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" “DTD/xhtml1-strict.dtd">
2. Each tag must be closed.
3. Head and body tags are now mandatory.
4. An ending slash should be used on the blank tag. An empty tag is a tag that does not require a last tag. E.g.
- <IMG SRC="--">Now<img src="--"/>
5. All tags must be in lowercase letters. It is applied to the tag, not to the attribute. For example, both of these formats are acceptable under XHTML DT
- <FONT color = "# ffffcc">Invalid
- <FONT color="#ffffcc">Invalid
- <font color="#ffffcc">Valid
- <font color="#FFFFCC">He is valid
6. The value of all attributes should be in double quotes.
7. Tags cannot be nested
- <b><i>text</b></i>This is invalid.
- <b><i>text</i></b>This is valid.
- <pre>tag img, object, big, small, sub Or should not have sup.
- A <form> The tag is different <form> Cannot be tagged.
8. If your code contains &, it must be & amp; It should be written through.
9. CSS should be used in lowercase letters.
Facebook Comments (0)
onlylearn24.com thank you