Web topic 29 w3 c page validationPresentation Transcript
Web Authoring Topic 29 –W3C and Page Validation
ObjectivesStudents should able to:1. Perform the web page validity test.2. Explain the benefits of a standard-based design web page. - Access and interpret the relevant W3C standards correctly - Take appropriate steps to ensure web contents follow the relevant W3C standards and guidelines
W3CW3C is the World Wide Web consortium —a non-profit group that helps guide theevolution of the web.The W3C provides guidelines and rules forspecifications including HTML and XHTML.One way to determine the validity of theHTML or XHTML code you generate is touse W3C’s free online validation service.
Page ValidationOpen your web browser and navigate tohttp://validator.w3.org.Three methods to validate page: i) By URL; ii) By File Upload; iii) By Direct InputThis validator checks the markup validityof Web documents in HTML, XHTML
Markup ValidityMost pages on the World Wide Web arewritten in computer languages (such asHTML) that allow Web authors tostructure text, add multimedia content,and specify what appearance, or style,the result should have.
Markup ValidityThe process of verifying whether adocument actually follows the rules forthe language it uses is called validation,and the tool used for that is a validator.A document that passes this process withsuccess is called valid.
Standards-Based DesignBenefits of Standards-based design:Less code:Using HTML and CSS allows you to createsimilar pages with fewer lines of code —less work for you and faster downloadtimes for the viewer.
Standards-Based DesignBenefits of Standards-based design:Ease of maintenance:Less code means a website that is easier tomaintain. This helps you, the author of apage, as well as any members of a teamworking on maintaining or revising awebsite.
Standards-Based DesignBenefits of Standards-based design:Accessibility:Web documents marked up semantically,meaning those that use the best HTML tagfor the job, can be easier to navigate byusers with visual impairments and theinformation they contain is more likely tobe found by a visitor to the site.
Standards-Based DesignBenefits of Standards-based design:Search engine optimization:Web pages with clear and logically namedsections, are easier for search engines toindex and categorize because content thatis organized and well-labeled is easier forsearch engines to evaluate content andrelevance of content on the page.
Standards-Based DesignBenefits of Standards-based design:Device compatibility:Websites that separate the structure fromthe style are more easily repurposed formobile devices and other browsers.CSS also allows for alternative style sheetsthat optimize the appearance based on thedevice being used to view the page.