Programming in Html5 with Javascript and CSS3

Slides:



Advertisements
Similar presentations
Build Amazing Apps with Web Standards Mobile HTML5 Applications In Hours, Not Days.
Advertisements

Table, List, Blocks, Inline Style
SD1230 Unit 10 Mobile Web.
PHP and CSS to control web apps styles. CSS is used to style today’s web applications.
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
Introducing CSS CIS 133 mashup Javascript, jQuery and XML 1.
CSS level 3. History of CSS CSS level 1 – original CSS CSS level 2 CSS level 2 Revision 1 (CSS2.1) – up to CSS2.1 monolithic structure CSS level 3 – specification.
CNIT 133 Interactive Web Pags – JavaScript and AJAX Review CSS.
CSS normally control the html elements. Three Ways to Insert CSS There are three ways of inserting a style sheet: External style sheet Internal style.
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
Philly.NET Hands-On MVC Razor, HTML5, CSS3 Rob Keiser, Bill Wolff.
Chapter 7 Using Advanced Cascading Style Sheets HTML5 & CSS 7 th Edition.
Using Cascading Style Sheets CSS Basics. Goals Understand basic syntax of Cascading Style Sheets (CSS) Understand basic syntax of Cascading Style Sheets.
4.01 Cascading Style Sheets
Working with Cascading Style Sheets. 2 Objectives Introducing Cascading Style Sheets Using Inline Styles Using Embedded Styles Using an External Style.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Relatore: Ing. Marco Porta Correlatore: Ing. Massimo Cellario Tesi di Laurea di: Andrea Marchetti Anno Accademico 2010/2011 UNIVERSITA’ DEGLI STUDI DI.
Microsoft Certification Exam Michael Van Cleave Planet Technologies.
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.
Dreamweaver -- CSS. Dreamweaver -- MX New icons are added in MX Most of the features commonly used in web design, and are same as FrontPage. New feature.
Using Styles and Style Sheets for Design
Tutorial 6 By Sam INE 1020 Introduction to Internet Engineering 1 DHTML & CSS Tutorial 6.
INTRODUCTION TO HTML5 Styling with CSS3. Round Border Corners  You can modify any element that supports the border property and render rounded borders.
Ins & Outs of. CSS3 is Modular Can we use it now?
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Nate Zaugg. Initially released in December 1996 Written to allow separation of document content from document layout Different styles can target different.
Creating Styles and Style Sheets.  CSS styles don’t communicate in nice clear English, they have their own language.  P { color: red; font-size: 1.5.
Working with Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 5.
WRT235: Writing in Electronic Environments Basic CSS.
CHAPTER 3 CSS & CSS3 อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
Join the MVA Community! ▪ Microsoft Virtual Academy—Free online training! ‒ Tailored for IT Pros and Developers ‒ Over 1M registered users ▪ Earn while.
HTML, CSS, and XML Tutorial 8 Enhancing a Web Site with Advanced CSS.
Tutorial #6 – Creating Fixed Width Layouts. Tutorial #5 Review – Box Model Every html element is surround by a box Content, Padding, Border, Margin Can.
Lecture 2 - HTML and CSS Review SFDV3011 – Advanced Web Development 1.
CSS 2D Transforms CSS 3D Transforms CSS Animations CSS Backgrounds & Borders CSS Color CSS Flexbox CSS Fonts CSS Grid CSS Hyphenation CSS Image Values.
Cascading Style Sheets Level 2. Course Objectives, Session 1 Level 1 Quick Review Chapter 8: Adding Graphics to Web Pages Chapter 9: Sprucing Up Your.
HTML with Style!. What is a Style Sheet? CSS? Style Sheet CSSCascading Style Sheets A “language” for defining style rules. Rules that tell the browser.
Web Technologies Lecture 2 HTML and CSS. HTML Hyper Text Markup Language – Describes web documents – Made up of nested HTML markup tags – Tags are the.
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.
VIDA Requirements - HTML5 – Semantic tags - HTML5 - Forms - HTML5 – CSS3.
Live Project Based Industrial Training SSDN Technologies Pvt. Ltd. Call Us: /
1/7/2016www.infocampus.co.in1. 1/7/2016www.infocampus.co.in2 Web Development training gives you and all-round training in both the design and the development.
HTML 5 AND CSS Dr Mohd Soperi Mohd Zahid Semester /16.
HTML Introduction HTML Editors HTML Basic HTML Elements HTML Attributes HTML Headings HTML Paragraphs HTML Formatting HTML Links HTML Head HTML CSS HTML.
XP Tutorial 7New Perspectives on HTML and XHTML, Comprehensive 1 Working with Cascading Style Sheets Creating a Style for Online Scrapbooks Tutorial 7.
Basic in Photoshop Tools in Photoshop Simple templates design menu in Photoshop different navigation bar image effects Design your portfolio page Design.
Lecture 9: Extra Features and Web Design Tarik Booker CS 120 California State University, Los Angeles.
Are you Ready To Take Microsoft Test? MCSD: Windows Store Apps.
Web Design (17) CSS Box Element (2). ‘Box’ Web Site (1) Insert a navigation bar into the index.html file and create links to ‘index.html’, ‘pageone.html’
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
Working with Cascading Style Sheets
CSS for Styling By Jinzhu Gao.
Formatting Text with CSS
CSS3 Style of the HTML document CSS2+New Specifications Differences
SPC Developer 6/10/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Tutorial 4 Topic: CSS 3.0 Li Xu
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
CX Introduction to Web Programming
Creating Visual Effects and Animation
Web Systems & Technologies
Building beautiful and interactive apps with HTML5 & CSS3
Website Design 3
Table CSS Create a new CSS called tablestyle.CSS Green Background
Chasing the evolving web
Web Design and Development
Adding Style with CSS Helen Zeng | Developer Evangelist
Presentation transcript:

Programming in Html5 with Javascript and CSS3 1. Self Intro 2. Agenda – no exam questions; discuss what I’ve learnt instead 3. HTML5 + CSS3 + JS + Exam Exam 70-480

HTML5, CSS3, Javascript Structure Presentation Behaviour HTML5 stresses spearting structure, presentation, and behaviour

HTML5 Which technology is HTML5 preceded by and derived from? SGML XHTML 1.0 XML XML – always requires matching tags, has no specific set of tags SGML – older markup language, HTML roots are from, which was used in doc publishing XHTML – XML-based that tightened the HTML specification HTML5 originates from HTML4.0. It contains most of it’s tags but many of them have been redefined to be semantic tags.

HTML5: Semantic markup

Semantic markup

HTML5 Input eLEMENTS <input type="color" name=“mycolor"> <input type=“date" name=“mydate"> <input type=“email" name=“myemail"> <input type=“number" name=“mynumber"> <input type=“range" name=“myage“ min=“1” max=“100”> See in browser!

HTML5 Graphics <canvas id="myCanvas" width="200" height="100"></canvas> <svg width=“300” height=“200”><polygon points=“100…"  style="fill:lime;" /> </svg>

Other HTML5 eLEMENTS <audio> <caption> <datalist> <figure> <progress> <section> <video>

Other HTML5 stuff Geolocation Drag/drop Web Storage App Cache Web Workers Server-Sent Events

CSS3 is the latest standard for CSS It is completely backwards-compatible with earlier versions of CSS

Applying styles Inline style Embedded style External style sheet

Cascading styles Browser agent User normal User important Author normal Author important Browser agent User normal Author normal Author important User important Now let’s take a look at new stuff introduced in CSS3

Css3 Borders Rounded borders Borders with shadow Use the border-radius property to make rounded corners Borders with shadow Use the box-shadow property to add shadow to boxes

Css3 gradients Linear gradients Radial gradients background: linear-gradient(direction, color-stop1, color-stop2, ...); Radial gradients background: radial-gradient(center, shape size, start-color, ..., last-color);

Css3 Text effects Text shadow effect Word-wrapping text-shadow: 5px 5px 5px #FF0000; Word-wrapping word-wrap: break-word;

More about Css3 Fonts Animations 2D / 3D Transforms Multiple columns User Interface Fonts – import fonts that are not available from browser Animations – change of color, change of position of shapes 2d/3d transforms – rotate, scale, skew, matrix Multiple columns – column-gap, width, span User Interface – box-sizing, box-flex

Javascript Implementing inheritance Jquery and Ajax

Implementing inheritance JavaScript provides the ability to implement inheritance, which is useful when you can define the relationship between two objects as an “is a” relationship. For example, an apple is a fruit, an employee is a person, and a piano is an instrument. This class is wrapped in an IIFE. The wrapper encapsulates the function and the Vehicle prototype. There is no attempt to make the data private. The code works as follows. When the code is loaded into the browser, the IIFE is immediately invoked. A nested function called Vehicle is defined in the IIFE. The Vehicle function’s prototype defines getInfo and startEngine functions that are on every instance of Vehicle. A reference to the Vehicle function is returned, which is assigned to the Vehicle variable. This is a great way to create a class, and all future class examples use this pattern. To create Vehicle objects, you use the new keyword with the Vehicle variable. The following test creates an instance of Vehicle and tests the getInfo and startEngine methods.

Implementing inheritance JavaScript provides the ability to implement inheritance, which is useful when you can define the relationship between two objects as an “is a” relationship. For example, an apple is a fruit, an employee is a person, and a piano is an instrument. This class is wrapped in an IIFE. The wrapper encapsulates the function and the Vehicle prototype. There is no attempt to make the data private. The code works as follows. When the code is loaded into the browser, the IIFE is immediately invoked. A nested function called Vehicle is defined in the IIFE. The Vehicle function’s prototype defines getInfo and startEngine functions that are on every instance of Vehicle. A reference to the Vehicle function is returned, which is assigned to the Vehicle variable. This is a great way to create a class, and all future class examples use this pattern. To create Vehicle objects, you use the new keyword with the Vehicle variable. The following test creates an instance of Vehicle and tests the getInfo and startEngine methods.

jQuery Ajax Callbacks object CSS Deferred object Events Selectors jQuery is a library of helper functions that are cross browser–compatible. You can minimize the amount of browser-specific code. jQuery is written in JavaScript, so it is JavaScript. You can read the jQuery source code to understand how jQuery works. It’s easy to use, it’s stable, it’s fully documented, and it works well with other frameworks. The following is a list of the categories of functionality jQuery provides

Ajax Asynchronous Javascript and XML Using AJAX, you can write JavaScript that asynchronously calls the server and processes the result. While this is happening, the user’s screen doesn’t lock up or freeze while waiting for the call to the server to complete. In this example, jQuery retrieves the values of x and y. A data variable object is then created to hold x and y. The $.ajax() call is executed next; it takes an object argument with all the settings for the call. In this example, the object is created inline. The url property is set, and the data is set to the data object created in the previous statement. The type property is the HTTP method, which supports GET, POST, PUT, and DELETE, but remember that many firewalls block PUT and DELETE. The cache property is set to false to indicate that the result should not be cached. The dataType property defines the type of data you expect to receive from the server and can be set to ‘json’, ‘xml’, ‘html’, ‘script’, ‘jsonp’, or ‘text’.

Javascript Serializing forms XMLHttpRequest Implementing namespaces Adding event listeners Parsing JSON Objects Use of isNan

Programming in HTML5 with CSS3 and Javascript Exam 70:480 Programming in HTML5 with CSS3 and Javascript

Exam 70:480 Earn the following certificates: Microsoft Certified Professional (MCP) Microsoft Specialist: Programming in HTML5, CSS3 and Javascript Counts towards Microsoft Certified Solutions Developer (MCSD) Web Apps Windows Store Apps Using HTML5 Sharepoint Applications Test centres in Wellington $221.00

Exam 70:480 45 questions, 2.5 hours Get 700 points to pass Microsoft Training Guide: Brain dumps available online 4 sections 32/45 to pass

Goodluck! 