XML To this point, we’ve pretty much ignored or brushed over the use of xml What is xml? – xml is eXtensible Markup Language – it is a metalanguage for.

Slides:



Advertisements
Similar presentations
Iframes & Images Using HTML.
Advertisements

XHTML Basics.
The Web Warrior Guide to Web Design Technologies
Chapter 6 Photoshop and ImageReady: Part II The Web Warrior Guide to Web Design Technologies.
HTML 5. What is HTML5? HTML5 will be the new standard for HTML, XHTML, and the HTML DOM. The previous version of HTML came in The web has changed.
World Wide Web1 Applications World Wide Web. 2 Introduction What is hypertext model? Use of hypertext in World Wide Web (WWW) – HTML. WWW client-server.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
Developing a Basic Web Page with HTML
Chapter 14 Introduction to HTML
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
Web Design Basic Concepts.
Chapter 9 Introduction to ActionScript 3.0. Chapter 9 Lessons 1.Understand ActionScript Work with instances of movie clip symbols 3.Use code snippets.
CST JavaScript Validating Form Data with JavaScript.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
Chapter 11 Adding Media and Interactivity. Flash is a software program that allows you to create low-bandwidth, high-quality animations and interactive.
HTML5. What is HTML5? HTML5 will be the new standard for HTML. HTML5 is the next generation of HTML. HTML5 is still a work in progress. However, the major.
School of Computing and Information Systems CS 371 Web Application Programming HTML The language of the Web.
HTML 5 New Standardization of HTML. I NTRODUCTION HTML5 is The New HTML Standard, New Elements New Attributes Full CSS3 Support Video and Audio 2D/3D.
Multimedia and Web Technology Prepared by: Asst. Prof. Maryam Eskandari.
SIG WEB January 31, 3PM. What is HTML5? What it is: Allows for better intergration of media consumption. A new open standard Provides new APIs.
What is Web Design?  Web design is the creation of a Web page using hypertext or hypermedia to be viewed on the World Wide Web.
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
4.1 JavaScript Introduction
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
XP Tutorial 7New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Chapter 6: Forms JavaScript - Introductory. Previewing the Product Registration Form.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
10 Adding Interactivity to a Web Site Section 10.1 Define scripting Summarize interactivity design guidelines Identify scripting languages Compare common.
Unit-2 Introduction to HTML PREPARED BY: PROF. HARISH I RATHOD COMPUTER ENGINEERING DEPARTMENT GUJARAT POWER ENGINEERING & RESEARCH INSTITUTE WEB APPLICATION.
Intro to Dreamweaver Web Design Section 7-1 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
JavaScript, Fourth Edition Chapter 5 Validating Form Data with JavaScript.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
Tutorial 7 Planning and Creating a Flash Web Site.
Chapter 5: Windows and Frames
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Creating XHTML Documents Essentials for.
Internet & World Wide Web How to Program, 5/e © by Pearson Education, Inc. All Rights Reserved.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
XP Tutorial 7 Creating a Flash Web Site. XP New Perspectives on Macromedia Flash 82 Objectives Plan and create a Flash Web site Create a Flash template.
1 CSC317/318 INTERNET PROGRAMING / DYNAMIC WEB APPLICATION DEVELOPMENT Siti Nurbaya Ismail Faculty of Computer Science & Mathematics, Universiti Teknologi.
Objective: To describe the evolution of the Internet and the Web. Explain the need for web standards. Describe universal design. Identify benefits of accessible.
Chapter 11 Adding Media and Interactivity. Chapter 11 Lessons Introduction 1.Add and modify Flash objects 2.Add rollover images 3.Add behaviors 4.Add.
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
1999, COMPUTER SCIENCE, BUU Introduction to HTML Seree Chinodom
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
Hyper Text Markup Language.  My First Heading My first paragraph. Example Explained The DOCTYPE declaration defines the document type The text between.
Web Programming Java Script-Introduction. What is Javascript? JavaScript is a scripting language using for the Web. JavaScript is a programming language.
The HTML5 logo was introduced by W3C in 2010
Section 10.1 Define scripting
HTML5 Basics.
Creating a Flash Web Site
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
PPT By:Gaurav Jaiswal Singsys Pte. Ltd.
Section 17.1 Section 17.2 Add an audio file using HTML
Section 10.1 YOU WILL LEARN TO… Define scripting
WEB PROGRAMMING JavaScript.
HTML 5 Training HTML 5 SYMANTICS [Notes to trainer:
Teaching slides Chapter 6.
Presentation transcript:

XML To this point, we’ve pretty much ignored or brushed over the use of xml What is xml? – xml is eXtensible Markup Language – it is a metalanguage for developing markup languages What is a markup language? – Markup languages are not so much programming languages like Java or Python but instead often us symbols by which we can interpret other symbols – In HTML, the symbols are tags which allow a browser to format the rest of the text, coupled with commands to load other files Thus, in a markup language, we differentiate between the markup (the tags) and the content – The interpretation of the markup is done by a program a web browser in html xml is a more generic markup language that can be used so that you can write your own software to interpret the xml markups (tags)

XML Components XML components are unicode characters, tags, attributes Tags consist of the type of tag and the element name – An element name might be or for instance – There are three types of tags Start tags as in End tags as in – these two sets of tags must be paired together Stand-alone tags (also known as empty-element tags) – as in Attributes along with their values provide specifiers for how a given tag should be handled or enacted – E.g., in, src, height, width and alt are attributes and we assign them values Some attributes are required for a tag, others are optional

XHTML 2.0 A lot of effort has gone into the definition of xhtml 1.0, which we have studied all semester – Xhtml differs from html in that it is extensible, so that it builds upon html The natural extension (or next generation) is xhtml 1.0 – You might recall from chapter 2, there are three types of xhtml 1.0: xhtml 1.0 transitional and xhtml 1.0 strict and xhtml 1.0 frameset so that there is no consensus regarding which version of xhtml should be used by web developers or implemented by web browsers However, people also continue to work on html (we are currently at html 4) so that the next release is html 5 Therefore, the question becomes: what version of html should be implemented in web browsers and which version of html should web developers use? – Prior to the start of this semester, the answer seemed to be to use xhtml 1.0 transitional followed by xhtml 2.0 when it is released – HOWEVER, W3C, the world wide web consortium who makes decisions on looks to recommend that web browsers should support html 5!

So What is HTML5? HTML5 is of course a new version of html – It is currently in draft form (the earliest draft was made available in January 2008) – It is not expected to be complete until after 2012 – However, parts of it are already available and being implemented in web browsers While W3C’s recommendation might look premature, it in fact allows current web developers to begin to incorporate already implemented components into their new websites While HTML5 overlaps XHTML 1.0, HTML5 supports new features not present in either XHTML 1.0 or any previous html version – Previously, some features have been available via 3 rd party software like Adobe Flash, but now being added to html itself will make the web development task easier and will require a web developer to use fewer tools

Changes in HTML 5 Block elements – replacements for and for generic locations such as and Functional elements – for standardized interfaces with multimedia elements like and Deprecating elements – handled solely in css these days:,,,, etc – frames:,, – Greater emphasis for scripting to handle behavior using the document object model – e.g., access form elements, change elements dynamically on a page

Attributes No Longer Supported In an attempt to move away from formatting via html to formatting via CSS, a number of attributes are no longer supported – align, valign, height, hspace – alink, vlink (used to indicate colors for active or visited links) – bgcolor, border, cellpadding, cellspacing – marginheight, marginwidth – frame, frameborder and others not listed here As stated on the previous slide, many tags have been deprecated entirely as well Notice that deprecated or “not supported” does not necessarily mean that they will not work, it depends on what the browser itself has implemented

New Tags – A section of a web page that has its own formatting For instance, if you are representing an on-line newspaper, this section is literally an article, formatted differently from the headlines, banner, and advertisements – Similar to an article, a section with its own formatting This section would be literally an “aside”, a section that is different from the flow and format of the rest of the page, – A section that represents an audio or video data stream This section has properties similar to the current and such as src, controls, autoplay and loop, also a new property: autobuffer

More New Tags – A browser button – like a button in a form, this allows the web designer to insert an input that triggers a programmed command (programmed via a scripting language or a call to an external web app) – A graphics object with height and width specifications, scripts can target the object to display into – Like bb, a button or box (checkbox, radio button) that the user can invoke to execute a script or program – Interactive list represented in a tree or linear (list) form – Drop down list (menu)

And More – Like article, a separately formatted section but in this case representing dialog – Separately formatted section with an optional caption that can be referenced from text and scripts,, – Like article and the others above, separately formatted sections the idea behind these separately formatted sections is to move away from using or all the time – A means to format all of … with some common formatting element(s) – Like dialog and article, used to highlight a section of text (marked text)

And A Few More – A region for output from a script associated with a form (this can be used in place of the readonly attribute of an input box) – For a progress bar,, – Ruby program annotations, text parenthesis and text components respectively – used to display ruby code, – These are ways to reference URLs for text or multimedia files – Precise date & time

Some Examples Images: Some legend for this figure Audio multimedia content Your browser does not support this content Notice here that the default controls will appear unless the browser does not support this form of multimedia and then replaces it with the text. Multimedia video will be the same except for the tags, Dialog example: King of Swamp Castle One day, lad, all of this will be yours Prince Herbert What, the curtains?

Scripted Media Example In this example, we combine javascript code in a script section with javascript events (onclick), a movie object which is defined in the tag, and form elements to control the movie object This code first creates a variable called movie and obtains an actual movie using the document.getElementById command The movie is called “movie” in the tag, so it assigns the variable movie to be that movie object The movie object is then passed messages: play, pause, currentTime (to reset the time) var movie=document.getElementById(“movie”); Movie Clip Play Pause Rewind

Current Support for HTML 5 Stylable elements (e.g.,,, etc) and the element are all supported by all current browsers except IE (support unknown for IE 9.0, not available in earlier versions) New tags are only currently supported in Opera (support unknown for IE 9.0) and are available in Firefox and Opera, audio is available in Safari but video is only partially supported in Safari, support unknown for IE 9.0, Chrome either does not yet support it or the support is not known Support vector graphics (svg) are supported on all except IE (support unknown)