W3C Web standards and Recommendations

Slides:



Advertisements
Similar presentations
Dr. Alexandra I. Cristea XHTML.
Advertisements

Standards and Increasing Maintainability on Web- based Systems James Eaton SE4112/16/2006.
Benefits of Web Standards Daniel M. Frommelt University of Wisconsin - Platteville Copyright Daniel M. Frommelt, This work is the intellectual property.
Authoring Languages and Web Authoring Software 4.01 Examine web page development and design.
Pengantar Teknologi Mobile 13 Antonius Rachmat C, S.Kom, M.Cs XHTML.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
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.
F DIGITAL MEDIA: COMMUNICATION AND DESIGN INTRODUCTION TO XML AND XHTML.
Introduction to XHTML Professor Stephen Kwan. 2 XHTML HTML StyleSheets XML CascadingStyleSheets(CSS) ExtensibleStylesheetLanguage(XSL) StructureFormatContent.
Computer Sciences Department
Creating a Basic Web Page
 XHTML is aimed to replace HTML  XHTML is almost identical to HTML 4.01  XHTML is a stricter and cleaner version of HTML  XHTML is HTML defined as.
10 Adding Interactivity to a Web Site Section 10.1 Define scripting Summarize interactivity design guidelines Identify scripting languages Compare common.
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.
1 © Netskills Quality Internet Training, University of Newcastle Introducing XML © Netskills, Quality Internet Training University.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
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.
Introduction. Document Structure Overview  XML declaration (prolog)  Document type declaration  Root element (namespace)  Document header  Document.
3 XHTML.
1 XHTML محمد احمدی نیا 2 Of 19 HTML vs XHTML  XHTML is a stricter and cleaner version of HTML.  by combining the strengths of HTML.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
Sheet 1XML Technology in E-Commerce 2001Lecture 1 XML Technology in E-Commerce Lecture 1 WWW, HTML, CSS, XML, Meta-modeling.
HTML | DOM. Objectives  HTML – Hypertext Markup Language  Sematic markup  Common tags/elements  Document Object Model (DOM)  Work on page | HTML.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
Lesson 4.
Lecture 2 - HTML and CSS Review SFDV3011 – Advanced Web Development 1.
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.
Web Terminology Intro to Web. North Lake College 2 by Sean Griffin HTML vs. XHTML HTML: Hypertext Markup Language XHTML: eXtensible Hypertext Markup Language.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes The Web Wizard’s Guide to XHTML by Cheryl M. Hughes.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Basic Document Structure.
HTML A brief introduction HTML1. HTML, what is? HTML is a markup language for describing web documents (web pages). HTML stands for Hyper Text Markup.
Copyright © 2003 Pearson Education, Inc. Slide 8-1 Created by Cheryl M. Hughes The Web Wizard’s Guide to XML by Cheryl M. Hughes.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML.
Extensible Markup Language (XML) Pat Morin COMP 2405.
Web Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
What is XHTML? XHTML stands for Extensible Hypertext Markup Language
Web Basics: HTML/CSS/JavaScript What are they?
Project 1 Introduction to HTML.
CITA 330 Section 3 XHTML.
4.01B Authoring Languages and Web Authoring Software
Chapter 1 Introduction to HTML.
Introduction to HTML.
JavaScript Event Handling.
Project 1 Introduction to HTML.
What is XHTML?.
The Internet and HTML Code
Introduction to XHTML.
Section 10.1 YOU WILL LEARN TO… Define scripting
Web Programming– UFCFB Lecture 9
JavaScript Introduction
DHTML Javascript Internet Technology.
XHTML
4.01B Authoring Languages and Web Authoring Software
HTML A brief introduction HTML.
DHTML Javascript Internet Technology.
Secure Web Programming
What is HTML?.
CIS 133 mashup Javascript, jQuery and XML
Web Programming– UFCFB Lecture 9
XHTML 7-May-19.
XHTML 29-May-19.
محمد احمدی نیا XHTML محمد احمدی نیا
Web Design & Development
HTML5 and CSS3 Illustrated Unit B: Getting Started with HTML
Presentation transcript:

W3C Web standards and Recommendations Lecture 3 Introduction to Web Publishing W3C Web standards and Recommendations

Outcomes Understand the need for W3C web standards Understand css, html, xml, and JavaScript purpose

Web standards Web needs guidance to realize its full potential. Web standards are this guidance. They help to ensure that everyone has access to the information and make web development faster and more enjoyable.

W3C standards HTML CSS XML XHTML …

Web Standard HTML

Web standard XML

Extensible Markup Language (XML) XML is playing an increasingly important role in the exchange of a wide variety of data on the Web and elsewhere.

User defined tags, i.e. extensible language XML User defined tags, i.e. extensible language

XML Example

Classroom physical structure University physical structure Design XML for: Telephone book Coursework title page Classroom physical structure University physical structure

Web Standard XHTML

XHTML “The Extensible HyperText Markup Language (XHTML™) is a family of current and future document types and modules that reproduce, subset, and extend HTML, reformulated in XML. XHTML Family document types are all XML-based, and ultimately are designed to work in conjunction with XML-based user agents. XHTML is the successor of HTML, and a series of specifications has been developed for XHTML.” http://www.w3.org/MarkUp/

XHTML (XML influence) Declare the DOCTYPE Tag and attributes in lower case Attributes must have quoted values All tags must have an end tag (<br />) Nest tags correctly Validate the page (http://validator.w3.org)

Validation? An XHTML document is validated against a Document Type Definition (DTD). Before an XHTML file can be properly validated, a correct DTD must be added as the first line of the file. !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" http://www.w3schools.com/xhtml/xhtml_validate.asp

XHTML XHTML 1.0 Transitional XHTML 1.0 Strict XHTML 1.0 Frameset XHTML 5 (under development together with HTML 5)

DIV Use DIVs to create the skeleton of the page. There should be no display-specific information in the XHTML The Goal: separate the information from the presentation of the page Presentation/positioning is entirely controlled by CSS

Web standard CSS

CSS Cascading Style Sheets (CSS) is a mechanism for changing the appearance of HTML or XML elements

Skinning Concept The skin is the design placed over the skeleton structure It’s like a cell phone Model of phone is the skeleton Face plates are the skins You can swap face plates

XHTML DIVs are like the parts of the phone (antenna, buttons, speaker, etc.) Layout CSS is like the different models of phones (where parts are positioned) Skin CSS is like the face plates

This is my header Menu Body Text goes here Footer

This is my header Menu Body Text goes here Footer

This is my header Menu Body Text goes here Footer

This is my header Menu Body Text goes here Footer

Web Standard Java Script

JavaScript JavaScript is a client-side scripting language that allows dynamic behavior to be specified within HTML documents. A scripting language is a language, which is easy and fast to learn. !!!!

JavaScript JavaScript is a client side language and it runs on the client browser. JavaScript is ECMA (European Computer Manufacturers Association) web standard

Web Standards When a web site or web page is described as complying with web standards, it usually means that the site or page has valid or nearly valid HTML, CSS and JavaScript. The HTML should also meet accessibility guidelines.

Document Object Model A DOM, or Document Object Model, is a tree representation of the structure of a Web document that may be used via scripts to access and manipulate any element within that page.

DOM tree

JavaScript and DOM Document Object Model is the way JavaScript sees its containing HTML page and browser state.

Why JavaScript JavaScript is a language that lets you make your pages interact with your readers and respond to what they do.

Where it can be used Form validation Enabling cookies Image rollovers Dropdown menus Many more…

JavaScript in XHTML <body> <script type="text/javascript"> document.write("Hello World!"); </script> </body> view

JavaScript in XHTML Browsers that do not support JavaScript will display JavaScript as page content

<body> <script type="text/javascript"> <!– document.write("Hello World!"); //--> </script> </body> The two forward slashes at the end of comment line (//) is the JavaScript comment symbol. This prevents JavaScript from executing the --> tag.

Rollovers View Form Validation

jQuery jQuery is multi-browser JavaScript library designed to simplify the client-side scripting of HTML.

References http://www.mezzoblue.com/zengarden/alldesigns/ www.W3.org