Rules for W3C Compliance

By | June 30, 2016



There taking after guidelines, are to take after while building up a site page.


Use XHTML affirmation explanations to begin each XHTML page:




“-/W3C//DTD XHTML 1.0 Strict//EN” “DTD/xhtml1-strict.dtd”>


Each tag must be shut.


The head and body labels are currently required.


Vacant labels get an ending slice. A vacant tag is a tag that doesn’t require an end tag. Cases incorporate <br> and <hr>.


<BR> is currently <br/>.


<HR> is currently <hr/>.


<IMG SRC=”- – “> is currently <img src=”- – “/>


All labels must be lower-case. This doesn’t have any significant bearing to characteristics, just labels. For instance, both of these arrangements are worthy under the XHTML DTD:


<FONT color=”#ffffcc”> is invalid


<font color=”#ffffcc”> is substantial


<font color=”#FFFFCC”> is likewise legitimate


All the quality qualities ought to be placed with in twofold quotes.


Labels may not be settled.


<b><i>Text</b></i> This is invalid


<b><i>Text</i></b> This is substantial


The <pre> tag ought not contain: img, object, huge, little, sub, or sup.


One <form> tag can’t be inside another <form> tag.


In the event that your code contains an and, it must be composed as &amp;.


Any utilization of CSS ought to utilize all lower-case letter

Category: seo

Leave a Reply

Your email address will not be published. Required fields are marked *