ALL >> Web-Design >> View Article
Validating Your Code & Testing A Web-page For A Variety Of Displays
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
Add Comment
Web Design Articles
1. Ahead Of The Curve: Top 11 Web Design Trends For 2025Author: Aarna Systems
2. Seo Strategies Every Website Company Should Know
Author: Liam Mackie
3. Way For Web: Expert Website Design And Development Company In Mumbai
Author: Sunil Kumar Yadav
4. Revolutionize Your Operations With The Best Microfinance Loan Management Software By Sigmait
Author: SigmaIT Software Designers Pvt. Ltd.
5. Top Benefits Of Hiring A Content Writing Agency For Your Business
Author: Webgenix
6. Top 3 Security Threats To Smbs
Author: ByteAhead
7. Top 3 Benefits Of Blogging
Author: ByteAhead
8. Elevating Digital Presence: Premier Web Designing Solutions In Hyderabad
Author: catlizaweb
9. Top Website Designer And Web Designing Company In Hyderabad: Crafting Digital Experiences That Matter
Author: catlizaweb
10. Integrated Healthcare Solutions In Malaysia: A Step Towards Better Health Management
Author: Emed Healthtech
11. The Importance Of User Experience In Taxi Booking Apps
Author: Codebrewlabs
12. How Corporate Web Design Impacts Your Brand Identity
Author: Lucas Tan
13. Telemedicine App Development Company In Malaysia: Key Features And Benefits
Author: Emed Healthtech
14. Wishlan - Innovating The Future Of Tech
Author: Himanshu
15. The Future Of Mobile App Development With Nasa And Nokia 4g Contract
Author: ByteAhead