2 History of World-Wide Web and HTML  1989: WWW has been invented at CERN  1991: Official birthday of HTML.

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

HTML and CSS. HTML Hyper Text Markup Language Tells browser how to display text and images.
Modernize Your Old Browser to Support HTML 5 Svetlin Nakov Telerik Software Academy academy.telerik.com Senior Technical Trainer
HTML5, OVERVIEW AND NEW FEATURES PowerPoint by Mason O’Mara.
New Tags, New Attributes, New JavaScript APIs, Forms, Validation, Audio, Video, SVG, Canvas Doncho Minkov Telerik Corporation
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
CSCI 3100 Tutorial 6 Web Development Tools 1 Cuiyun GAO 1.
An Introduction Timmy Kokke | UNIT4 Internet Solutions | Expression Blend MVP / Webguy.
Cascading Style Sheets
Programming Club IIT Kanpur. Work environment Before you begin coding,always set up your work environment to your needs IDE Notepad++ Sublime Text 2.
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
A really fairly simple guide to: mobile browser-based application development (part 1) Chris Greenhalgh G54UBI / Chris Greenhalgh
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
1 Web Developer & Design Foundations with XHTML Chapter 9 Key Concepts.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
More CSS - Page layout + HTML5 new features Boriana Koleva Room: C54
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.
The E/R model, triggers, HTML5 Reminder … next Tuesday is the first exam. 1.
Project 1 Introduction to HTML.
Bartosz Kowalski Software Developer CERN. Presentation outline -HTML : introduction and history -HTML5 : -History and philosophy -New features -Structure.
Lecture 18. HTML5 and JavaScript Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell Exploring the Internet,
Working with Cascading Style Sheets. 2 Objectives Introducing Cascading Style Sheets Using Inline Styles Using Embedded Styles Using an External Style.
Developing a Basic Web Page with HTML
Chapter 15 HTML 5 Video and Audio Intro to HTML5 1.
1st Project Introduction to HTML.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Chapter 14 Introduction to HTML
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
E0262 – MIS – Multimedia Storage Techniques SMIL – Synchronized Multimedia Integration Language.
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.
HTML5 GAMING By Scott Benton. HTML5 New HTML Standard Previous Version of HTML, HTML 4.01, Released in 1999 Not an Official Standard Yet No Browsers Have.
1 Networks and the Internet A network is a structure linking computers together for the purpose of sharing resources such as printers and files Users typically.
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.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
Introduction to HTML. What is HTML?  Hyper Text Markup Language  Not a programming language but a markup language  Used for presentation and layout.
Lecture 2 - HTML and CSS Review SFDV3011 – Advanced Web Development 1.
Session I Chapter 1 - Introduction to Web Development
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
UPLOAD / DOWNLOAD april  HTML5 is just the next iteration of HTML  Previous version was technically HTML 4.01, which incorporated XHTML 1.0.
How the Web Works Building a Website – Lesson 1. How People Access the Web Browsers People access websites using software called a web browser. To view.
CHAPTER 15 HTML 5 VIDEO AND AUDIO Intro to HTML5 1.
HTML – Other Tags Semantic Tags, Frames, Embed Multimedia Content, Others SoftUni Team Technical Trainers Software University
CNIT 132 – Week 4 Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
HTML 5 The Future of Web Development. What is HTML5? “HTML5 is a specification of how the web’s core language, HTML, should be formatted and utilized.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
(1) HTML5, CSS, Twitter Bootstrap. (2) HTML5 Will be the new standard New features Drag and Drop and Support for local storage,,,, New input types Removed.
Let’s look what flash can do: OK, that wasn’t flash! That was HTML5.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
TNPW1 Ing. Jiří Štěpánek.  In current version (XHTML 1.0 strict)  No multimedia elements  No semantics elements  Only few input types  Only few document.
CSCI 3100 Tutorial 2 Web Development Tools 1 HTML 5 & CSS 3 1.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
Agenda * What is HTML5 -- Its history and motivation * HTML/XHTML as Human / Machine Readable Format * HTML and its related technologies * Brief summary.
XHTML. What Is XHTML? XHTML stands for EXtensible HyperText Markup Language XHTML is almost identical to HTML XHTML is stricter than HTML XHTML is HTML.
The HTML5 logo was introduced by W3C in 2010
Working with Cascading Style Sheets
Project 1 Introduction to HTML.
Chapter 1 Introduction to HTML.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Project 1 Introduction to HTML.
Application with Cross-Platform GUI
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
HTML5 Level I Session I Chapter 1 - Introduction to Web Development
CIS 133 mashup Javascript, jQuery and XML
Creating User Interfaces
Presentation transcript:

2 History of World-Wide Web and HTML  1989: WWW has been invented at CERN  1991: Official birthday of HTML

HTML: Reminder School Announcement JINR/CERN School 2014 JINR, CERN and MEPhI are organizing a school on grid and advanced information systems. The main topics of the school are: NICA project Advanced Information Systems Introduction to the GRID technologies Markup version HTML header Heading Paragraph link List

CSS: Reminder body { font-family: Arial, MS Sans Serif; background: url(gr1.jpg) repeat } h1 { background: url(gr3.jpg); color: white; padding: 10px} p { font-weight: bold; padding-left: 5px } p.topics { color: #800517} li { list-style-image: url(b.jpg); margin-top: 1em} CSS = Cascading Style Sheets

History of HTML Language Official birthday (20 elements) 1991 v CSS JavaScript and 4.0 (W3C Recommendation) 1997 XHTML 1999/2000 World is asynchronous (AJAX) …

HTML5: Philosophy  Reduce the need for external plug-ins  Error handling  Device independent  Replace scripting with markup HTML5 = HTML + CSS + JavaScript

HTML5: New Features in a nutshell  Semantic elements  New form controls  Local offline storage  New JavaScript APIs  Media: video and audio  Canvas element for drawing  User Interface improvements  SVG and WebGL New tags added in HTML5 /ultimate-html5-cheatsheat/

HTML5: Simplification of code Markup version HTML4 HTML5 Metadata HTML4 HTML5

HTML5: New form elements

HTML: Structure  No semantics in layout

HTML5: Semantic markup

HTML5: Semantic elements example

Web Storage: a bit of history  Introduced in 1994  Key-value storage  4Kb of data per cookie  Data sent back to the server on every request  Browsers are not required to retain more than 300 cookies in total HTTP Cookies

Web Storage Storing data on the client side (up to 5-10Mb)  Local storage: per domain, stored forever  Session storage: per page/window, stored for a session  The API is the same for both types of storage Example: 11+

Indexed DB  Database of records and hierarchical objects  Indexed: provides fast search  Transactional: supports data integrity  Unlimited size, unlimited storage time var request = indexedDB.open("library"); request.onupgradeneeded = function() { // The database did not previously exist, so create object stores and indexes. var db = request.result; var store = db.createObjectStore("books", {keyPath: "isbn"}); var titleIndex = store.createIndex("by_title", "title", {unique: true}); var authorIndex = store.createIndex("by_author", "author"); // Populate with initial data. store.put({title: "Quarry Memories", author: "Fred", isbn: }); store.put({title: "Water Buffaloes", author: "Fred", isbn: }); store.put({title: "Bedrock Nights", author: "Barney", isbn: }); }; request.onsuccess = function() { db = request.result; }; (example from the W3C Editor’s Draft page)

HTML5: Media Extra video field attributes: autoplay controls height / width loop preload poster playbackRate Special JavaScript events: play, pause, ended, playing, progress, …

HTML5: Media Support HTML 4: HTML 5:

Codecs Challenge Ogg/Theora WebM MPEG-4/H.264 Video codecs support in different browsers Works with an installed WebM codec  MPEG-4/H.264: Commonly used video compression format (not royalty-free)  OGG/Theora: Royalty-free codec not encumbered by any known patents  WebM: Multimedia format designed to provide a royalty-free, high-quality open video compression format for use with HTML5 video. No single combination of codecs works in all HTML5 browsers and this is not likely to change in the near future. To make your video watchable across all of these devices and platforms, you’re going to need to encode your video more than once.

HTML5: Canvas Canvas is an API for 2D drawing Context selector Lines, shapes, path, … Pixels Save image (Data URL)

Canvas example

… a more advanced example

HTML5: Scalable Vector Graphics (SVG) SVG is an XML-based format for describing 2D vector graphics SVG in HTML5:

Canvas or SVG?

Canvas + WebGL  WebGL is a JavaScript API for interactive 2D/3D graphics  Based on the OpenGL ES standard  Supported by most modern browsers without plug-ins Compatibility

HTML5 or Flash?

Geolocation  The geolocation API allows the user to provide their location to web applications if they so desire. For privacy reasons, the user is asked for permission to report location information. var x = document.getElementById("demo"); function getLocation() { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(showPosition); } else { x.innerHTML = "Geolocation is not supported by this browser."; } } function showPosition(position) { x.innerHTML = "Latitude: " + position.coords.latitude + " Longitude: " + position.coords.longitude; }

HTML5 Communication

HTML5 and browser support  Use Modernizr  Small JS library that detects over 40 features  Easy to use  Doesn’t add missing features (but can help replacing it with a “polyfill”) Before using an HTML5 feature you must check whether it is supported “polyfill” is a JavaScript library that replicates the standard API for older browsers If (Modernizr.canvas) { // let’s draw } else { // no native canvas support available }

Thank You! More information: 30