123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> Web-Design >> View Article

Validating Your Code & Testing A Web-page For A Variety Of Displays

Profile Picture
By Author: Manish Jain
Total Articles: 35
Comment this article
Facebook ShareTwitter ShareGoogle+ ShareTwitter Share

Many web designers make the mistake of designing their documents for specific screen resolutions. When the document is displayed on a smaller resolution the page elements tend to jam together or break across unexpected lines.

Your documents should be suitable for many resolutions. Although most users will be running at resolutions of atleast 800x600 pixels, your websites may have the occasional user running lower resolutions or too high resolution. Therefore, it`s advised and is an industry standard to always test your documents at various locations & colour depths to look for many shortcomings.

Validating your document`s code is another very good idea. It helps double check your document for simple errors - typos, unclosed tags & so on - and also verifies that your code meets expected standards.

There are many ways to validate your documents, but they all rely on your documents containing a correct document type definition (DTD) declaration. For example, if you want to base your documents on Strict HTML 4.01, you would include the DTD declaration at the top of your docuemnt within angular brackets.

The ...
... DOCTYPE declaration informs any user agent reading the document what standard the document is based on. The information is primarily used by validation clients in validating the code within the document, but it might also be used by a display agent to determine what features it must support. Some of the tools/resources where the code can be validated are:

The online W3C HTML validation tool
The online Web Design Group (WDG) validation tool
Validation utilities built in to Web development tools such as Adobe`s Dreamweaver.
Any of the various separate applications that can be run locally. A comprehensive list is maintained on the WDG site.
The online CSS validation tool

Many a times, the document may look like conforming to HTML but the validators think otherwise. Some of the points that should be kept in mind before the validation takes place are like that the [input] element must be contained within a block element other than the [form] tag. Typically, the paragraph tag [p] is used but you can also use [div], a heading, [pre] and so on.

Xhtmlslicing is the leading web 2.0 design firm that slices your design from PSD to XHTML, HTML and CSS.
http://www.xhtmlslicing.com

Total Views: 266Word Count: 366See All articles From Author

Add Comment

Web Design Articles

1. Revolutionizing Communication: The Whatsapp Clone By Omninos Solutions
Author: BY Omninos solution

2. Seo Vs Ppc: Which Brings Better Roi For Small Businesses In 2026?
Author: sochtek

3. Hire The Best Vue.js Developers In Riyadh For Your Applications
Author: Andy

4. What All You Need To Understand About Website Design And Development
Author: Liam Mackie

5. Drupal Web Development Services In Riyadh For Strategic Growth
Author: Andy

6. Landing Page Seo That Actually Converts Visitors Into Customers
Author: sochtek

7. Objective-c App Development & Services
Author: brainbell

8. Ios_sdk
Author: brainbell10

9. Ionic
Author: brainbell10

10. Iot App Development
Author: brainbell10

11. How Node.js Works: A Comprehensive Guide In 2026
Author: Andy

12. Why Your Website Gets Traffic But No Leads And How To Fix It
Author: sochtek

13. Transform Your Digital Presence With The Leading Website Design Company In Bhubaneswar
Author: Ethan Davis

14. Why Hiring A Website Designing Company Is Better Than Relying On Ai?
Author: Angus Carruthers

15. What Is Next.js Development? An Overview Of The Powerful React Framework
Author: Andy

Login To Account
Login Email:
Password:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: