SlideShare a Scribd company logo
Presentation about html5 css3
What is HTML?
 HyperText Markup Language (HTML) is the
main markup language for creating web
pages and other information that can be
displayed in a web browser.
 HTML is written in the form of HTML
elements consisting of tags enclosed in
angle brackets (like <html>), within the web
page content.
What is CSS?


CSS stands for Cascading Style Sheets.



Styles define how to display HTML elements.




Its most common application is to style web pages written in HTML and
XHTML.

CSS specifies a priority scheme to determine which style rules apply if
more than one rule matches against a particular element. In this so-called
cascade, priorities or weights are calculated and assigned to rules, so that
the results are predictable.
Types of CSS
External

Internal

In-line

<link href="path/to/file.css" rel="stylesheet">
Types of CSS
External

<link href="path/to/file.css" rel="stylesheet">

<style type="text/css"> ...... </style>

Internal

In-line
Types of CSS
External

<link href="path/to/file.css" rel="stylesheet">

<style type="text/css"> ...... </style>

Internal

In-line
<p style=“color:#ffffff;"> ...... </p>
Rough Timeline of Web Technologies
YEAR

VERSION

1991

HTML

1994

HTML2

1996
1997

CSS+Javascript

FEATURES

Color,font,Margin,
border,padding,Image...etc

HTML4

1998

CSS2

2000

XHTML

2002

Tableless Web Design

2005

AJAX

2009

HTML5

Absolute,fixed,relative
positioning of elements and zindex, bidirectional text, and new
font properties
HTML5
HTML5

CSS3

HTML4

JS

HTML5 is a markup language for structuring and presenting content for the
World Wide Web and a core technology of the Internet.

It extends, improves and rationalises the markup available for documents,and
introduces markup and application programming interfaces (APIs) for complex
web applications.

For the same reasons, HTML5 is also a potential candidate for cross-platform
mobile applications.
Features of HTML5
 Offline/Storage

 Multimedia

 Graphics

 Semantics and Markup
Offline/Storage

HTML5, web pages can store data locally within the user's browser.

Earlier, this was done with cookies. However, Web Storage is more secure and
faster. The data is not included with every server request, but used ONLY
when asked for. It is also possible to store large amounts of data, without
affecting the website's performance.

The data is stored in key/value pairs, and a web page can only access data
stored by itself.
HTML5 Web Storage defines two types of key-value storage types

Localstorage

Session storage
Localstorage
- Stores data with no expiration date.
- The data will not be deleted when the browser is closed, and will be
available the next day, week, or year.
- 5MB per app per browser. According to the HTML5 spec, this limit can
be increased by the user when needed

localStorage.clickcount=Number(localStorage.clickcount)+1;

Session Storage
- Stores data for one session.
- Session storage is per-page-per-window and is limited to the lifetime
of
the window.
- The sessionStorage object is equal to the localStorage object, except
that it stores the data for only one session.
- The data is deleted when the user closes the browser window.
sessionStorage.clickcount=1;
Deleting Data from Storage

You can delete a single key-value pair of data from the storage or you can
delete all the data all at once.

Deleting a Specific Key-Value Pair

If you want to delete specific piece of data and you know the key name, you
simply supply the key name to the removeItem method like this:
localStorage.removeItem(clickcount);
Clearing the Entire Storage

To clear the storage used by your web app, invoke the clear() method, like this:
localStorage.clear();
Multimedia
<video id="video" src="movie.webm" autoplay controls>
</video>

<audio id="audio" src="sound.mp3" controls> </audio>
Multimedia
<video id="video" src="movie.webm" autoplay controls>
</video>

Example

<audio id="audio" src="sound.mp3" controls> </audio>
Example
Graphics



 Canvas 2D
 Canvas 3D
 SVG
Canvas


The HTML5 <canvas> tag is used to draw graphics, on the fly, via scripting
(usually JavaScript).



Draw a rectangle, a gradient rectangle, a multi color rectangle, and some
multicolor text.



However, the <canvas> element has no drawing abilities of its own (it is
only a container for graphics) - you must use a script to actually draw the
graphics.



In order to leverage the HTML5 Canvas, we'll need to place the canvas tag
somewhere inside the HTML document, access the canvas tag with
JavaScript, create a context, and then utilize the HTML5 Canvas API to
draw visualizations.
Canvas 2D Example
What is SVG?







SVG stands for Scalable Vector Graphics
SVG is used to define vector-based graphics for the Web

SVG defines the graphics in XML format
SVG graphics do NOT lose any quality if they are zoomed or resized
Every element and every attribute in SVG files can be animated
SVG images can be created and edited with any text editor
Semantics and Markup
Semantic = Meaning.

Semantic elements = Elements with meaning.

A semantic element clearly describes its meaning to both the browser and the
developer.

Examples of non-semantic elements: <div> and <span> - Tells nothing about
its content.

Examples of semantic elements: <form>, <table>, and <img> - Clearly defines
its content.
Better semantic tags
HTML5 offers new semantic elements to clearly define different parts of a web
page:



<header>



<nav>



<section>



<article>



<aside>



<figcaption>



<figure>



<footer>
Markup for applications

Example
New form types

Example
HTML and API's
HTML5 APIs
 Application Cache API
 DataTransfer API
 Command API
 Constraint Validation API
 History API
 MediaController API
 Text Track API
 APIs for the text field selections
Application Cache API: Example
which means that a web application is cached, and accessible without
an internet connection.
Offline browsing - users can use the application when they're offline
Speed - cached resources load faster
Reduced server load - the browser will only download
updated/changed resources from the server.

DataTransfer API: Example
Drag and drop is a very common feature. It is when you "grab" an
object and drag it to a different location.
Drag and drop is a very common feature. It is when you "grab" an object and drag it to a different location.

In HTML5, drag and drop is part of the standard, and any element can
be draggable.

Constraint Validation API:
means of implementing client side validation on web forms.
The core of constraint validation is an algorithm browsers run when a form
History API:
The History objects provide a representation of the pages in the
session history of browsing contexts. back(),forward() and go().

MediaController API:
An API to interact with the <audio> and <video> elements.
You can do things like play (controller.play) and pause (controller.pause).
More on media elements here.

Text Track API:
An API to interact with the <audio> and <video> associated text tracks,
like subtitles or captions.

APIs for the text field selections:
The input and textarea text elements define an API for handling their
selection.
Presentation about html5 css3
- CSS is used to control the style and layout of Web pages.

- CSS3 is completely backwards compatible,so you will not have to change
existing designs. Browsers will always support CSS2.

CSS3 Modules

CSS3 is split up into "modules". The old specification has been split into
smaller pieces, and new ones are also added.

Some of the most important CSS3 modules are:



Selectors



Box Model



Backgrounds and Borders



Text Effects
CSS3 Borders
With CSS3, you can create rounded borders, add shadow to boxes, and use an
image as a border - without using a design program, like Photoshop.

In this chapter you will learn about the following border properties:
Box with rounded corners
Example

border-radius
box-shadow
border-image
CSS3 Text Effects
CSS3 contains several new text features.

In this chapter you will learn about the following text properties:

 text-shadow
 word-wrap
Transforms and Transitions
Transforms
A transform is an effect that lets an element change shape, size and
position.
You can transform your elements using 2D or 3D transformation.

3D example1 3D Example2

Transitions
Animation
CSS3, we can create animations, which can replace animated images, Flash
animations, and JavaScripts in many web pages.

Example

Multiple Column Layout
With CSS3, you can create multiple columns for laying out text - like in
newspapers!

multiple column properties:
column-count
column-gap
Thank you

More Related Content

What's hot (20)

HTML and CSS crash course!
HTML and CSS crash course!HTML and CSS crash course!
HTML and CSS crash course!
Ana Cidre
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
Fahim Abdullah
 
JavaScript Programming
JavaScript ProgrammingJavaScript Programming
JavaScript Programming
Sehwan Noh
 
Introduction to JavaScript (1).ppt
Introduction to JavaScript (1).pptIntroduction to JavaScript (1).ppt
Introduction to JavaScript (1).ppt
MuhammadRehan856177
 
Html5 Basics
Html5 BasicsHtml5 Basics
Html5 Basics
Pankaj Bajaj
 
Css3
Css3Css3
Css3
Deepak Mangal
 
Tech talk on Tailwind CSS
Tech talk on Tailwind CSSTech talk on Tailwind CSS
Tech talk on Tailwind CSS
Squareboat
 
Box Model
Box ModelBox Model
Box Model
Amit Kumar Singh
 
HTML & CSS Masterclass
HTML & CSS MasterclassHTML & CSS Masterclass
HTML & CSS Masterclass
Bernardo Raposo
 
HTML5 audio & video
HTML5 audio & videoHTML5 audio & video
HTML5 audio & video
Hamza Zahid
 
Javascript basics
Javascript basicsJavascript basics
Javascript basics
shreesenthil
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginners
Singsys Pte Ltd
 
Html & CSS
Html & CSSHtml & CSS
Html & CSS
JainilSampat
 
Html 5
Html 5Html 5
Html 5
manujayarajkm
 
CSS
CSSCSS
CSS
Akila Iroshan
 
(Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS (Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS
Dave Kelly
 
HTML CSS & Javascript
HTML CSS & JavascriptHTML CSS & Javascript
HTML CSS & Javascript
David Lindkvist
 
Jquery
JqueryJquery
Jquery
Girish Srivastava
 
Web Development with HTML5, CSS3 & JavaScript
Web Development with HTML5, CSS3 & JavaScriptWeb Development with HTML5, CSS3 & JavaScript
Web Development with HTML5, CSS3 & JavaScript
Edureka!
 
How Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) WorksHow Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) Works
Amit Tyagi
 
HTML and CSS crash course!
HTML and CSS crash course!HTML and CSS crash course!
HTML and CSS crash course!
Ana Cidre
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
Fahim Abdullah
 
JavaScript Programming
JavaScript ProgrammingJavaScript Programming
JavaScript Programming
Sehwan Noh
 
Introduction to JavaScript (1).ppt
Introduction to JavaScript (1).pptIntroduction to JavaScript (1).ppt
Introduction to JavaScript (1).ppt
MuhammadRehan856177
 
Tech talk on Tailwind CSS
Tech talk on Tailwind CSSTech talk on Tailwind CSS
Tech talk on Tailwind CSS
Squareboat
 
HTML5 audio & video
HTML5 audio & videoHTML5 audio & video
HTML5 audio & video
Hamza Zahid
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginners
Singsys Pte Ltd
 
(Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS (Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS
Dave Kelly
 
Web Development with HTML5, CSS3 & JavaScript
Web Development with HTML5, CSS3 & JavaScriptWeb Development with HTML5, CSS3 & JavaScript
Web Development with HTML5, CSS3 & JavaScript
Edureka!
 
How Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) WorksHow Cascading Style Sheets (CSS) Works
How Cascading Style Sheets (CSS) Works
Amit Tyagi
 

Viewers also liked (6)

Денис Царев – Как не разбить лоб об HTML5
Денис Царев – Как не разбить лоб об HTML5Денис Царев – Как не разбить лоб об HTML5
Денис Царев – Как не разбить лоб об HTML5
404fest
 
New HTML5/CSS3 techniques
New HTML5/CSS3 techniquesNew HTML5/CSS3 techniques
New HTML5/CSS3 techniques
mbeatrizoliveira
 
Introduction to Html5
Introduction to Html5Introduction to Html5
Introduction to Html5
www.netgains.org
 
html5.ppt
html5.ppthtml5.ppt
html5.ppt
Niharika Gupta
 
Html Ppt
Html PptHtml Ppt
Html Ppt
vijayanit
 
reveal.js 3.0.0
reveal.js 3.0.0reveal.js 3.0.0
reveal.js 3.0.0
Hakim El Hattab
 
Денис Царев – Как не разбить лоб об HTML5
Денис Царев – Как не разбить лоб об HTML5Денис Царев – Как не разбить лоб об HTML5
Денис Царев – Как не разбить лоб об HTML5
404fest
 

Similar to Presentation about html5 css3 (20)

Html5
Html5Html5
Html5
mikusuraj
 
Organize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS TricksOrganize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS Tricks
Andolasoft Inc
 
Introduction to whats new in css3
Introduction to whats new in css3Introduction to whats new in css3
Introduction to whats new in css3
Usman Mehmood
 
html5_css3
html5_css3html5_css3
html5_css3
Sindh Madresatul Islam University
 
Teched Inetrgation ppt and lering in simple
Teched Inetrgation ppt  and lering in simpleTeched Inetrgation ppt  and lering in simple
Teched Inetrgation ppt and lering in simple
JagadishBabuParri
 
web devs ppt.ppsx
web devs ppt.ppsxweb devs ppt.ppsx
web devs ppt.ppsx
AsendraChauhan1
 
PPT on javascript ajax and css and some points related to server
PPT on javascript ajax and css and some points related to serverPPT on javascript ajax and css and some points related to server
PPT on javascript ajax and css and some points related to server
shivanichourasia01
 
Html5
Html5Html5
Html5
Chris Young
 
technology@web
technology@webtechnology@web
technology@web
Dinesh kumar
 
Bootcamp - Web Development Session 2
Bootcamp - Web Development Session 2Bootcamp - Web Development Session 2
Bootcamp - Web Development Session 2
GDSCUniversitasMatan
 
Html5
Html5Html5
Html5
Zahin Omar Alwa
 
Super billing asp.net
Super billing   asp.netSuper billing   asp.net
Super billing asp.net
superb11b
 
web development presentation computer science
web development presentation computer scienceweb development presentation computer science
web development presentation computer science
girijasharma7777
 
HTML 5
HTML 5HTML 5
HTML 5
Rajan Pal
 
Intro to mobile web application development
Intro to mobile web application developmentIntro to mobile web application development
Intro to mobile web application development
zonathen
 
HTML5 Refresher
HTML5 RefresherHTML5 Refresher
HTML5 Refresher
Ivano Malavolta
 
Web technologies part-2
Web technologies part-2Web technologies part-2
Web technologies part-2
Michael Anthony
 
JavaScript
JavaScriptJavaScript
JavaScript
Gulbir Chaudhary
 
HTML5 introduction for beginners
HTML5 introduction for beginnersHTML5 introduction for beginners
HTML5 introduction for beginners
Vineeth N Krishnan
 
Programming languages asp.net
Programming languages asp.netProgramming languages asp.net
Programming languages asp.net
Vasilios Kuznos
 
Organize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS TricksOrganize Your Website With Advanced CSS Tricks
Organize Your Website With Advanced CSS Tricks
Andolasoft Inc
 
Introduction to whats new in css3
Introduction to whats new in css3Introduction to whats new in css3
Introduction to whats new in css3
Usman Mehmood
 
Teched Inetrgation ppt and lering in simple
Teched Inetrgation ppt  and lering in simpleTeched Inetrgation ppt  and lering in simple
Teched Inetrgation ppt and lering in simple
JagadishBabuParri
 
PPT on javascript ajax and css and some points related to server
PPT on javascript ajax and css and some points related to serverPPT on javascript ajax and css and some points related to server
PPT on javascript ajax and css and some points related to server
shivanichourasia01
 
Bootcamp - Web Development Session 2
Bootcamp - Web Development Session 2Bootcamp - Web Development Session 2
Bootcamp - Web Development Session 2
GDSCUniversitasMatan
 
Super billing asp.net
Super billing   asp.netSuper billing   asp.net
Super billing asp.net
superb11b
 
web development presentation computer science
web development presentation computer scienceweb development presentation computer science
web development presentation computer science
girijasharma7777
 
Intro to mobile web application development
Intro to mobile web application developmentIntro to mobile web application development
Intro to mobile web application development
zonathen
 
HTML5 introduction for beginners
HTML5 introduction for beginnersHTML5 introduction for beginners
HTML5 introduction for beginners
Vineeth N Krishnan
 
Programming languages asp.net
Programming languages asp.netProgramming languages asp.net
Programming languages asp.net
Vasilios Kuznos
 

Recently uploaded (20)

Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Open Access: Revamping Library Learning Resources.
Open Access: Revamping Library Learning Resources.Open Access: Revamping Library Learning Resources.
Open Access: Revamping Library Learning Resources.
Rishi Bankim Chandra Evening College, Naihati, North 24 Parganas, West Bengal, India
 
SPRING FESTIVITIES - UK AND USA -
SPRING FESTIVITIES - UK AND USA            -SPRING FESTIVITIES - UK AND USA            -
SPRING FESTIVITIES - UK AND USA -
Colégio Santa Teresinha
 
Vitamins Chapter-7, Biochemistry and clinical pathology, D.Pharm 2nd year
Vitamins Chapter-7, Biochemistry and clinical pathology, D.Pharm 2nd yearVitamins Chapter-7, Biochemistry and clinical pathology, D.Pharm 2nd year
Vitamins Chapter-7, Biochemistry and clinical pathology, D.Pharm 2nd year
ARUN KUMAR
 
LDMMIA Reiki Yoga Session 2 For Money Chi
LDMMIA Reiki Yoga Session 2 For Money ChiLDMMIA Reiki Yoga Session 2 For Money Chi
LDMMIA Reiki Yoga Session 2 For Money Chi
LDM Mia eStudios
 
How to Manage a Customer Account in Odoo 17 Sales
How to Manage a Customer Account in Odoo 17 SalesHow to Manage a Customer Account in Odoo 17 Sales
How to Manage a Customer Account in Odoo 17 Sales
Celine George
 
Liu "Liu "Accessibility Essentials: A 2025 NISO Training Series, Session 4, 8...
Liu "Liu "Accessibility Essentials: A 2025 NISO Training Series, Session 4, 8...Liu "Liu "Accessibility Essentials: A 2025 NISO Training Series, Session 4, 8...
Liu "Liu "Accessibility Essentials: A 2025 NISO Training Series, Session 4, 8...
National Information Standards Organization (NISO)
 
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public SchoolsK12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
dogden2
 
The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...
Sandeep Swamy
 
P-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 finalP-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 final
bs22n2s
 
p1.pdf فن الخدمة الجزء الاول د هاني عاطف و د عايده فايز
p1.pdf فن الخدمة الجزء الاول د هاني عاطف و د عايده فايزp1.pdf فن الخدمة الجزء الاول د هاني عاطف و د عايده فايز
p1.pdf فن الخدمة الجزء الاول د هاني عاطف و د عايده فايز
HanyAtef10
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
How to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 WebsiteHow to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 Website
Celine George
 
Chapter 8. Strategy Evaluation, Control, and Strategic Leadership.pdf
Chapter 8. Strategy Evaluation, Control, and Strategic Leadership.pdfChapter 8. Strategy Evaluation, Control, and Strategic Leadership.pdf
Chapter 8. Strategy Evaluation, Control, and Strategic Leadership.pdf
Rommel Regala
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
Unit 5: Dividend Decisions and its theories
Unit 5: Dividend Decisions and its theoriesUnit 5: Dividend Decisions and its theories
Unit 5: Dividend Decisions and its theories
bharath321164
 
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Celine George
 
Quality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdfQuality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdf
Dr. Bindiya Chauhan
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Vitamins Chapter-7, Biochemistry and clinical pathology, D.Pharm 2nd year
Vitamins Chapter-7, Biochemistry and clinical pathology, D.Pharm 2nd yearVitamins Chapter-7, Biochemistry and clinical pathology, D.Pharm 2nd year
Vitamins Chapter-7, Biochemistry and clinical pathology, D.Pharm 2nd year
ARUN KUMAR
 
LDMMIA Reiki Yoga Session 2 For Money Chi
LDMMIA Reiki Yoga Session 2 For Money ChiLDMMIA Reiki Yoga Session 2 For Money Chi
LDMMIA Reiki Yoga Session 2 For Money Chi
LDM Mia eStudios
 
How to Manage a Customer Account in Odoo 17 Sales
How to Manage a Customer Account in Odoo 17 SalesHow to Manage a Customer Account in Odoo 17 Sales
How to Manage a Customer Account in Odoo 17 Sales
Celine George
 
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public SchoolsK12 Tableau Tuesday  - Algebra Equity and Access in Atlanta Public Schools
K12 Tableau Tuesday - Algebra Equity and Access in Atlanta Public Schools
dogden2
 
The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...The ever evoilving world of science /7th class science curiosity /samyans aca...
The ever evoilving world of science /7th class science curiosity /samyans aca...
Sandeep Swamy
 
P-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 finalP-glycoprotein pamphlet: iteration 4 of 4 final
P-glycoprotein pamphlet: iteration 4 of 4 final
bs22n2s
 
p1.pdf فن الخدمة الجزء الاول د هاني عاطف و د عايده فايز
p1.pdf فن الخدمة الجزء الاول د هاني عاطف و د عايده فايزp1.pdf فن الخدمة الجزء الاول د هاني عاطف و د عايده فايز
p1.pdf فن الخدمة الجزء الاول د هاني عاطف و د عايده فايز
HanyAtef10
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
How to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 WebsiteHow to Subscribe Newsletter From Odoo 18 Website
How to Subscribe Newsletter From Odoo 18 Website
Celine George
 
Chapter 8. Strategy Evaluation, Control, and Strategic Leadership.pdf
Chapter 8. Strategy Evaluation, Control, and Strategic Leadership.pdfChapter 8. Strategy Evaluation, Control, and Strategic Leadership.pdf
Chapter 8. Strategy Evaluation, Control, and Strategic Leadership.pdf
Rommel Regala
 
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
How to track Cost and Revenue using Analytic Accounts in odoo Accounting, App...
Celine George
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
Unit 5: Dividend Decisions and its theories
Unit 5: Dividend Decisions and its theoriesUnit 5: Dividend Decisions and its theories
Unit 5: Dividend Decisions and its theories
bharath321164
 
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...Multi-currency in odoo accounting and Update exchange rates automatically in ...
Multi-currency in odoo accounting and Update exchange rates automatically in ...
Celine George
 
Quality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdfQuality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdf
Dr. Bindiya Chauhan
 

Presentation about html5 css3

  • 2. What is HTML?  HyperText Markup Language (HTML) is the main markup language for creating web pages and other information that can be displayed in a web browser.  HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like <html>), within the web page content.
  • 3. What is CSS?  CSS stands for Cascading Style Sheets.  Styles define how to display HTML elements.   Its most common application is to style web pages written in HTML and XHTML. CSS specifies a priority scheme to determine which style rules apply if more than one rule matches against a particular element. In this so-called cascade, priorities or weights are calculated and assigned to rules, so that the results are predictable.
  • 4. Types of CSS External Internal In-line <link href="path/to/file.css" rel="stylesheet">
  • 5. Types of CSS External <link href="path/to/file.css" rel="stylesheet"> <style type="text/css"> ...... </style> Internal In-line
  • 6. Types of CSS External <link href="path/to/file.css" rel="stylesheet"> <style type="text/css"> ...... </style> Internal In-line <p style=“color:#ffffff;"> ...... </p>
  • 7. Rough Timeline of Web Technologies YEAR VERSION 1991 HTML 1994 HTML2 1996 1997 CSS+Javascript FEATURES Color,font,Margin, border,padding,Image...etc HTML4 1998 CSS2 2000 XHTML 2002 Tableless Web Design 2005 AJAX 2009 HTML5 Absolute,fixed,relative positioning of elements and zindex, bidirectional text, and new font properties
  • 8. HTML5 HTML5 CSS3 HTML4 JS HTML5 is a markup language for structuring and presenting content for the World Wide Web and a core technology of the Internet. It extends, improves and rationalises the markup available for documents,and introduces markup and application programming interfaces (APIs) for complex web applications. For the same reasons, HTML5 is also a potential candidate for cross-platform mobile applications.
  • 9. Features of HTML5  Offline/Storage  Multimedia  Graphics  Semantics and Markup
  • 10. Offline/Storage HTML5, web pages can store data locally within the user's browser. Earlier, this was done with cookies. However, Web Storage is more secure and faster. The data is not included with every server request, but used ONLY when asked for. It is also possible to store large amounts of data, without affecting the website's performance. The data is stored in key/value pairs, and a web page can only access data stored by itself. HTML5 Web Storage defines two types of key-value storage types Localstorage Session storage
  • 11. Localstorage - Stores data with no expiration date. - The data will not be deleted when the browser is closed, and will be available the next day, week, or year. - 5MB per app per browser. According to the HTML5 spec, this limit can be increased by the user when needed localStorage.clickcount=Number(localStorage.clickcount)+1; Session Storage - Stores data for one session. - Session storage is per-page-per-window and is limited to the lifetime of the window. - The sessionStorage object is equal to the localStorage object, except that it stores the data for only one session. - The data is deleted when the user closes the browser window. sessionStorage.clickcount=1;
  • 12. Deleting Data from Storage You can delete a single key-value pair of data from the storage or you can delete all the data all at once. Deleting a Specific Key-Value Pair If you want to delete specific piece of data and you know the key name, you simply supply the key name to the removeItem method like this: localStorage.removeItem(clickcount); Clearing the Entire Storage To clear the storage used by your web app, invoke the clear() method, like this: localStorage.clear();
  • 13. Multimedia <video id="video" src="movie.webm" autoplay controls> </video> <audio id="audio" src="sound.mp3" controls> </audio>
  • 14. Multimedia <video id="video" src="movie.webm" autoplay controls> </video> Example <audio id="audio" src="sound.mp3" controls> </audio> Example
  • 16. Canvas  The HTML5 <canvas> tag is used to draw graphics, on the fly, via scripting (usually JavaScript).  Draw a rectangle, a gradient rectangle, a multi color rectangle, and some multicolor text.  However, the <canvas> element has no drawing abilities of its own (it is only a container for graphics) - you must use a script to actually draw the graphics.  In order to leverage the HTML5 Canvas, we'll need to place the canvas tag somewhere inside the HTML document, access the canvas tag with JavaScript, create a context, and then utilize the HTML5 Canvas API to draw visualizations.
  • 18. What is SVG?       SVG stands for Scalable Vector Graphics SVG is used to define vector-based graphics for the Web SVG defines the graphics in XML format SVG graphics do NOT lose any quality if they are zoomed or resized Every element and every attribute in SVG files can be animated SVG images can be created and edited with any text editor
  • 19. Semantics and Markup Semantic = Meaning. Semantic elements = Elements with meaning. A semantic element clearly describes its meaning to both the browser and the developer. Examples of non-semantic elements: <div> and <span> - Tells nothing about its content. Examples of semantic elements: <form>, <table>, and <img> - Clearly defines its content.
  • 20. Better semantic tags HTML5 offers new semantic elements to clearly define different parts of a web page:  <header>  <nav>  <section>  <article>  <aside>  <figcaption>  <figure>  <footer>
  • 24. HTML5 APIs  Application Cache API  DataTransfer API  Command API  Constraint Validation API  History API  MediaController API  Text Track API  APIs for the text field selections
  • 25. Application Cache API: Example which means that a web application is cached, and accessible without an internet connection. Offline browsing - users can use the application when they're offline Speed - cached resources load faster Reduced server load - the browser will only download updated/changed resources from the server. DataTransfer API: Example Drag and drop is a very common feature. It is when you "grab" an object and drag it to a different location. Drag and drop is a very common feature. It is when you "grab" an object and drag it to a different location. In HTML5, drag and drop is part of the standard, and any element can be draggable. Constraint Validation API: means of implementing client side validation on web forms. The core of constraint validation is an algorithm browsers run when a form
  • 26. History API: The History objects provide a representation of the pages in the session history of browsing contexts. back(),forward() and go(). MediaController API: An API to interact with the <audio> and <video> elements. You can do things like play (controller.play) and pause (controller.pause). More on media elements here. Text Track API: An API to interact with the <audio> and <video> associated text tracks, like subtitles or captions. APIs for the text field selections: The input and textarea text elements define an API for handling their selection.
  • 28. - CSS is used to control the style and layout of Web pages. - CSS3 is completely backwards compatible,so you will not have to change existing designs. Browsers will always support CSS2. CSS3 Modules CSS3 is split up into "modules". The old specification has been split into smaller pieces, and new ones are also added. Some of the most important CSS3 modules are:  Selectors  Box Model  Backgrounds and Borders  Text Effects
  • 29. CSS3 Borders With CSS3, you can create rounded borders, add shadow to boxes, and use an image as a border - without using a design program, like Photoshop. In this chapter you will learn about the following border properties: Box with rounded corners Example border-radius box-shadow border-image
  • 30. CSS3 Text Effects CSS3 contains several new text features. In this chapter you will learn about the following text properties:  text-shadow  word-wrap
  • 31. Transforms and Transitions Transforms A transform is an effect that lets an element change shape, size and position. You can transform your elements using 2D or 3D transformation. 3D example1 3D Example2 Transitions
  • 32. Animation CSS3, we can create animations, which can replace animated images, Flash animations, and JavaScripts in many web pages. Example Multiple Column Layout With CSS3, you can create multiple columns for laying out text - like in newspapers! multiple column properties: column-count column-gap