HTML5&CSS3. Webpage Editors Notepad++ TextWrangler (Mac Users) Dreamweaver Editplus plus.sourceforge.net/uk/site.htm

Slides:



Advertisements
Similar presentations
HTML5 Overview Owen Williams owen at dynabooks daht com Owen Williams owen at dynabooks daht com.
Advertisements

WEB PAGES: CREATING AND MAINTAINING ** Frank Romanelli Instructor: Wednesday: 10:15 -11:15 Week 3.
Backwards Compatible HTML5/CSS3 Apps in ASP.NET Nik Kalyani, Founder/CEO, HyperCrunch, Inc.
Cascading Style Sheets. Next Level Cascading Style Sheets (CSS) - control the look and feel of your HTML documents in an organized and efficient manner.
An Introduction Timmy Kokke | UNIT4 Internet Solutions | Expression Blend MVP / Webguy.
More CSS - Page layout + HTML5 new features Boriana Koleva Room: C54
Philly.NET Hands-On MVC Razor, HTML5, CSS3 Rob Keiser, Bill Wolff.
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
HTML IFRAMES, COLORS, ENTITIES, URL. HTML IFRAMES An iframe is used to display a web page within a web page. Apep Kamaludin, MT. |
HTML Computing Concepts HTML - An Introduction 1.
Workshop: CSS-Part I Cascading Style Sheets add style to your HTML web pages.
More HTML Chapter 4. 2 Nesting Tags How do you write the following in HTML? The wrong way: This is really, REALLY fun ! Tags must be correctly nested.
4.01 Cascading Style Sheets
AdvWeb-1/9 DePaul University SNL 262 Web Page Design Chapt 11 - Custom Background And Colors Instructor: David A. Lash.
WEB PAGES: CREATING AND MAINTAINING ** Tom Keane & Mayis SeapanInstructors: HTML Tags to format your text.
HTML BASIC
CS 174: Web Programming February 26 Class Meeting Department of Computer Science San Jose State University Spring 2015 Instructor: Ron Mak
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
  Just another way to collect pieces together (like div, section)  Anything can be in there  Formatting just like all other elements.
Computer Sciences Department
Forms, Validation Week 7 INFM 603. Announcements Try placing today’s example in htdocs (XAMPP). This will allow you to execute examples that rely on PHP.
HIGHER COMPUTING CSS. WHAT IS CSS? CSS: Cascaded Style Sheets used to separate a web site’s content(information) from its style(how it looks).
CompSci Today’s topics Networks & the Internet Basic HTML ä The basis for web pages ä “Almost” programming Upcoming ä Connections ä Algorithms.
Creating Web Pages with Links, Images, and Formatted Text.
School of Computing and Information Systems CS 371 Web Application Programming HTML The language of the Web.
What is HTML ? HyperText Markup Language. The authoring language of the Web is currently HTML, which stands for HyperText Markup Language. Future versions.
@ 翁玉礼 HTML5 Discuss. Compare to html4 Canvas Video and audio Local offline store New form control.
HTML 4.0 History and Application By: Marc Mayzes.
IE11 Preview is here! Briefing prepared for the IE MVPs and IE userAgents communities.
1 Cascading Style Sheets (CSS) Part 2. 2 The Sources of Style Sheets.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Formatting Text and Lists Essentials for.
1.NET Web Forms HTML Introduction © 2002 by Jerry Post.
Introduction To CSS.. HTML Review What is HTML used for? Give some examples of formatting tags in HTML? HTML is the most widely used language on the Web.
Department of Information Technology Chapter 8 - Creating Hypertext links Lecturer: Ms Melinda Chung.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
G053 Lecture 12 Introduction To HTML Mr C Johnston ICT Teacher
_______________________________________________________________________________________________________________ PHP Bible, 2 nd Edition1  Wiley and the.
Stylin’ with CSS Monday October 8 th and Tuesday October 9 th.
CS 174: Web Programming September 30 Class Meeting Department of Computer Science San Jose State University Fall 2015 Instructor: Ron Mak
Introduction to HTML. What is HTML?  Hyper Text Markup Language  Not a programming language but a markup language  Used for presentation and layout.
Creating Your Own Webpage COSC Cascading Stylesheets Think of: HTML: content of your webpage HTML has tags CSS: presentation and appearance of your.
Cascading Style Sheets Eugenia Fernandez IUPUI. CSS Purpose CSS allow you to specify the style in which your XML elements are displayed. CSS were originally.
Web Technologies Lecture 3 Web forms. HTML5 forms A component of a webpage that has form controls – Text fields – Buttons – Checkboxes – Range controls.
HTML & Color How to Use Color  Backgrounds-  Usually a light color is best  Should have a color based on a theme or plan  Can have a dark.
CS543: WEB APPLICATION PROGRAMMING Lab 1: HTML tags & SW installation Computer Science Department.
Web Design (14) CSS Formatting Text. Formatting Text In Brackets, go to your ‘externalcss’ website and find the ‘formattingtext’ page. Use the ‘main’
(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.
CSS Cascading Style Sheets *referenced from
ColorsColors. Color Keywords/Names 140 color keywords/names are defined in the HTML and CSS color specification –17 standard colors (HTML accepts 16 of.
Let’s look what flash can do: OK, that wasn’t flash! That was HTML5.
XHTML HyperText Markup Language Instructs a browser how to “render”/display/format text.
Font-Family, Color and Background. Basics  CSS rule: Selector (multiple separated by, ) Declaration (multiple separated by ; ) Example: p { color: red;
What is HTML5? HTML5 will be the new standard for HTML. The previous version of HTML, HTML 4.01, came in The web has changed a lot since then. HTML5.
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.
HTML5 Requirement Driven Design David Tarrant Electronics and Computer Science.
Basic Web Publishing M. Scott Gartner 7/15/98.
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.
Chapter 4: Feature Detection & Drag and Drop
HTML Text formatting, links, CSS, class user interface
Creating Your Own Webpage
Cascading Style Sheets
Application with Cross-Platform GUI
HTML.
Introduction to Web programming
Stylin’ with CSS.
What Color is it?.
HTML5 - 2 Forms, Frames, Graphics.
Stylin’ with CSS.
Cascading Style Sheets
Stylin’ with CSS.
Presentation transcript:

HTML5&CSS3

Webpage Editors Notepad++ TextWrangler (Mac Users) Dreamweaver Editplus plus.sourceforge.net/uk/site.htm ngler/

Document Type Definition DTD tag points to URI and Formal Public Identifier (FPI) for the actual definition file. HTML5 simplifies the DTD tag:

HTML5 Shim IE9 fully supports HTML5, not less than IE9 Solutions: make IE read the comments and define new elements

HTML5 Tag List US/docs/HTML/HTML5/HTML5_element_list US/docs/HTML/HTML5/HTML5_element_list _elements.asp _elements.asp

Essential Tags

Special Characters Character Code # # $ $ © © or © ® ® < < > > & & " " (space)

Canvas vs. SVG SVG uses XML DOM Supports event handlers

Color Spaces in CSS Name: aqua, black, blue, fuchsia, gray, grey, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow #rrggbb rgb(rrr,ggg,bbb) rgba(rrr,ggg,bbb,a) a=0 transparent transparent lack of background color (default) transparent same as parent element

CSS selectors Tag selector Class selector ID selector h1, #id,.class { property: values } [quoted if values have spaces]

HTML5 semantic tags,,, and

HTML 5 figures

Box model 2-D box model 3-D CSS box model

HTML 5 Drop and Drag

HTML 5 geolocation navigator.geolocation getCurrentPosition(doing_func_if_succ) function doing_func_if_succ() Errors: error.PERMISSION_DENIED error.POSITION_UNAVAILABLE error.TIMEOUT error.UNKNOWN_ERROR

HTML 5 videos and audios

HTML 5 new input types color date datetime datetime-local month number range search tel time url week

HTML5 new form element

HTML5 local storage Storage localStorage - stores data with no expiration date sessionStorage - stores data for one session localStorage.key=“value”

HTML5 cache...

HTML 5 Server Sent Event Automatic update from server Good for temporary file detection var source=new EventSource(“somefile.php"); source.onmessage=function(event) { document.getElementById("result").innerHT ML+=event.data + " "; };

Call php in HTML or javascript function javaFunction(){var url=" window.open(url, "_self"); }

HTML call javascript function myFunction() { alert("Hello World!"); } Try it document.getElementById("demo").innerHTML=myFunction();

HTML call php Name: Age: Welcome ! You are years old.