Validation. What is Validation? Removing errors improves the consistency of how our pages look to a wide variety of browsers and devices. Ensuring that.

Slides:



Advertisements
Similar presentations
Validation checking and testing that your web pages function as intended.
Advertisements

HTML: HyperText Markup Language Hello World Welcome to the world!
1 HTML Standards & Compliance. 2 Minimum Required HTML tags: (must go in this order!)
XHTML Basics.
 Fundamentals of Web Design.  Describe the history and theory of XHTML  Understand the rules for creating valid XHTML documents  Apply a DTD to an.
XHTML 16-Apr-17.
17-Jun-15 XHTML 2 What is XHTML? XHTML stands for Extensible Hypertext Markup Language XHTML is aimed to replace HTML.
Unit 2, cont. September 14 HTML,Validating your pages, Publishing your site.
Downloading and Installing AutoCAD Architecture 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the software.
HTML Elements. HTML documents are defined by HTML elements.
Basic Web Design. Technology is a tool  FIRST, understand how people actually interact with each other and with the information in their lives, in all.
WRA /16/13 HTML VALIDATION & HTML5. TODAY’S AGENDA Overview of new objects: lists, tables Overview of metadata: meta tags, comments History of the.
Microsoft Windows LEARNING HOW USE AN OPERATING SYSTEM 1.
Getting Started with Expression Web 3
DIY Web Development Hand Code Your Own Page (For Free!) by Bryan Brown, Indiana University Bloomington SLIS.
Working with XHTML Creating a Well-Formed Valid Document.
XP The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 140 Internet Tools Instructor: Enoch E. Damson.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
XHTML The Basics A brief history of HTML SGML (Standard Generalized Markup Language) Then came HTML Followed by the browser…and the great browser wars.
G053 - Lecture 20 Testing Websites
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Week 1 Understanding the Web Design Environment. 1-2 HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to.
Log on to Digital Locker Website You should be able to log on using Internet Explorer browser at the campus. You may need to log in using Mozilla FireFox.
HTML history, Tags, Element. HTML: HyperText Markup Language Hello World Welcome to the world!
Using Html Basics, Text and Links. Objectives  Develop a web page using HTML codes according to specifications and verify that it works prior to submitting.
Web page - A Web page is a simple text file that contains a set of HTML tags (code) that describe (to the browser) what should go on a web page. It may.
1 HTML intro The development of HTMLThe development of HTML The transition from HTML to XHTMLThe transition from HTML to XHTML XHTML syntax, tags, and.
XHTML Instructor: Charles Moen CSCI/CINF XHTML  A stricter version of HTML  Extensible HTML  The XHTML specification is maintained by the World.
Website Development & Management Creating Web Pages CIT Fall Instructor: John Seydel, Ph.D.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
The Web A Resource for All of Us Introduction Objectives Recall the history of computers: before 1950, Internet, personal computers Identify the purpose.
Open Internet Explorer Go to: my.ccsd.net Type YOUR InterAct username and password. Then Submit Query.
Basic (X)HTML Structure.  Covers the most basic (X)HTML elements  How you want to structure your document  You’ll learn how to create: Paragraph Header.
XP Tutorial 9 1 Working with XHTML. XP SGML 2 Standard Generalized Markup Language (SGML) A standard for specifying markup languages. Large, complex standard.
IS1825: Developing Multimedia Applications for Business Lecture 1: Introduction to CSS Rob Gleasure
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
HTML Concepts and Techniques Fifth Edition Chapter 6 Using Frames in a Web Site.
XHTML By Trevor Adams. Topics Covered XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Creating XHTML Documents Essentials for.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
Videos. Adding Videos to a Web Page Videos can make our pages more interesting and engaging. Most video-hosting services, such as YouTube, will provide.
Downloading and Installing Autodesk Inventor Professional 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes The Web Wizard’s Guide to XHTML by Cheryl M. Hughes.
PART 2 INTRODUCTION TO DYNAMIC WEB CONTENT AND PHP.
XP Tutorial 9New Perspectives on HTML and XHTML, Comprehensive 1 Working with XHTML Creating a Well-Formed Valid Document Tutorial 9.
Lesson 2 – Unit B. Quick review 1. What is the name of the eGCC host that you ftp your files? 2. What type of software do you use to create and edit web.
PART 1: Introduction to HTML & CSS. Lecture 1: HTML 5 Basic Structure.
Navigating the Course 1. Course Materials 2 Software: Notepad (or TextEdit on a Mac) – comes with operating system Internet Explorer Web Browser FireFox.
CIS 228 The Internet 9/20/11 XHTML 1.0. “Quirks” Mode Today, all browsers support standards Compliant pages are displayed similarly There are multiple.
Standards and Compliance. A Brief History of HTML HTML through 1991  Hypertext enabled pages but presentation was lacking HTML 
Creating Web Pages with Links, Images, and Embedded Style Sheets
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 20: Testing and Debugging Webpages.
CWA 3105 Presents At&t Connect for Windows pc This will be a quick set up guide for our new virtual meeting program We are the ELITE to have this trial.
Validation.
Doctypes and domain names
FY 2012 Public Service Grants
Using the HTML and CSS Validation Services
XHTML Basics.
BTEC NCF Dip in Comp - Unit 15 Website Development Lesson 12 – Publish and Test Mr C Johnston.
Validation.
XHTML Basics.
XHTML Basics.
XHTML Basics.
Website Testing EIT, Author Gay Robertson, 2018.
Using and Viewing Homepage
XHTML Basics.
Running a Java Program using Blue Jay.
XHTML Validation.
Presentation transcript:

Validation

What is Validation? Removing errors improves the consistency of how our pages look to a wide variety of browsers and devices. Ensuring that our pages adhere to web standards will maximize the chance that they will display properly in future browsers. Catching and correcting errors early helps new web designers learn and improve more quickly. Writing clean, error-free code is a sign of professionalism to employers and other web designers. Validation is a process by which we verify we've made no syntax or rules violations on our web pages. There are many reasons to take this extra step on all our documents: If our web page looks fine on our own web browser screen, we cannot assume that it will display that way for everyone else. Validation greatly improves the chance that it will appear consistently across all platforms.

How Validation Works The World Wide Web Consortium (W3C) is an organization that creates the rules and standards for web documents. Each HTML version has a different set of standards. Remember the first line in all our web documents? It is the DOCTYPE declaration. The DOCTYPE determines which set of standards will be applied to the code that follows. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " All our web pages in this course use a DOCTYPE of XHTML 1.0 Transitional. When we submit a web page for validation, me must comply with this specific set of rules in order for our documents to pass with no errors.

Where to Validate a Web Page To validate a web document, we use the W3C website's validation tool at: Using the Direct Input method, we can copy and paste our code into the validator. Using the File Upload method, we can browse and select a file on our local computer. If the page we wish to validate is already live on the internet, we can just enter the URL. We can run any live page through the validator, not just our own pages. We can even check out others' websites to see how good their code is!

If Our Page Passes Validation If our page is error-free, we will see the following screen: It's also possible that the document will pass validation but have some non- error warnings. Be sure to scroll down and view these warnings to see if there are ways to improve your page further.

If Our Page Fails Validation If errors were encountered, we'll see a red bar and the number of errors will be displayed: We just need to scroll down to see the list of errors.

Viewing the Errors The errors will be listed in the order they were encountered: Sometimes the error description can be a little confusing, but by finding the line of code in our document and taking a closer look, we can usually discover our mistake and correct it.

Making Corrections Instead of trying to fix everything in one shot, make one or two corrections and then revalidate the document. Often, you'll find that by making a single correction, the error count will drop dramatically. Continue this process of fixing an error or two and then revalidating until the document passes validation. It's good practice to make sure all the pages of a site pass validation prior to making them live on the internet. Don't forget to revalidate a page any time you make changes to it. Don't panic when your web page contains errors and fails validation. It's quite common, especially for novice web designers.

CSS Validation The markup validator we just used will examine only the XHTML code of our document, not the CSS. There is a separate validator for CSS, available at: By default, the validator will apply the rules for CSS3. If we want to check with the standards of CSS 2.1, we can click on More Options.