Tag: W3C

DIV and SPAN

Within standard design web site, the DIV and SPAN are used widely. The W3C, in “The Global Structure of an HTML Document,” defines these two elements. The DIV and SPAN elements, in conjunction with the id and class attributes, offer a generic mechanism for adding structure to documents. These elements define content to be inline

Web Page Standards (XHTML)

We use XHTML standards for all web page. It is some thing need to be care for. Open with the proper DOCTYPE and namespace. Declare your content type using the META Content element. Write all element and attribute names in lowercase. Quote all attribute values. Assign values to all attributes. Close all tags. Close “empty”