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)

PPTX
Html5 tutorial for beginners
Singsys Pte Ltd
 
PPT
Introduction to HTML5
IT Geeks
 
ODP
HTML5
Hatem Mahmoud
 
PDF
Flexbox and Grid Layout
Rachel Andrew
 
PPT
JavaScript - An Introduction
Manvendra Singh
 
PPT
Introduction to JavaScript (1).ppt
MuhammadRehan856177
 
PDF
Javascript
Vibhor Grover
 
PPTX
Introducing Cascading Style Sheets
St. Petersburg College
 
PDF
Javascript basics
shreesenthil
 
PDF
CSS
Vladimir Zhidal
 
PPT
Javascript Basics
Vishal Mittal
 
PPTX
HTML Semantic Tags
Bruce Kyle
 
PPT
Html & Css presentation
joilrahat
 
PPT
javaScript.ppt
sentayehu
 
PPTX
Html5 Basics
Pankaj Bajaj
 
PPTX
Java script
Shyam Khant
 
PPT
Eye catching HTML BASICS tips: Learn easily
shabab shihan
 
PDF
Introduzione ad angular 7/8
Valerio Radice
 
PDF
Introduction to HTML5
Gil Fink
 
PPT
JavaScript Tutorial
Bui Kiet
 
Html5 tutorial for beginners
Singsys Pte Ltd
 
Introduction to HTML5
IT Geeks
 
HTML5
Hatem Mahmoud
 
Flexbox and Grid Layout
Rachel Andrew
 
JavaScript - An Introduction
Manvendra Singh
 
Introduction to JavaScript (1).ppt
MuhammadRehan856177
 
Javascript
Vibhor Grover
 
Introducing Cascading Style Sheets
St. Petersburg College
 
Javascript basics
shreesenthil
 
Javascript Basics
Vishal Mittal
 
HTML Semantic Tags
Bruce Kyle
 
Html & Css presentation
joilrahat
 
javaScript.ppt
sentayehu
 
Html5 Basics
Pankaj Bajaj
 
Java script
Shyam Khant
 
Eye catching HTML BASICS tips: Learn easily
shabab shihan
 
Introduzione ad angular 7/8
Valerio Radice
 
Introduction to HTML5
Gil Fink
 
JavaScript Tutorial
Bui Kiet
 

Similar to Presentation about html5 css3 (20)

PDF
HTML5 features & JavaScript APIs
Fisnik Doko
 
PPT
HTML5 Presentation
vs4vijay
 
ODP
Html5
mikusuraj
 
PDF
Building a Better Web with HTML5 and CSS3
Karambir Singh Nain
 
PPTX
HTML 5
Rajan Pal
 
PPTX
Rohit&kunjan
Rohit Patel
 
PPTX
HTML5: An Overview
Nagendra Um
 
ODP
Html5
prithag92
 
PPTX
HTML5 introduction for beginners
Vineeth N Krishnan
 
PPTX
Html5
Zahin Omar Alwa
 
PPT
Html5 Future of WEB
Amit Choudhary
 
ODP
Html5
prithag92
 
PDF
Html5 workshop part 1
NAILBITER
 
PDF
HTML5 & CSS3 refresher for mobile apps
Ivano Malavolta
 
KEY
Introduction to HTML5/CSS3 In Drupal 7
Mediacurrent
 
PDF
HTML5: An Introduction To Next Generation Web Development
Tilak Joshi
 
PPTX
Html 5 Overview
Aditi Rustagi
 
PPT
HTML5 Webinar - Mind Storm Software
Romin Irani
 
PPTX
HTML5-Tutorial-For-Beginn.6202488.pptx
BCAGen
 
PPTX
Html5 & less css
Graham Johnson
 
HTML5 features & JavaScript APIs
Fisnik Doko
 
HTML5 Presentation
vs4vijay
 
Html5
mikusuraj
 
Building a Better Web with HTML5 and CSS3
Karambir Singh Nain
 
HTML 5
Rajan Pal
 
Rohit&kunjan
Rohit Patel
 
HTML5: An Overview
Nagendra Um
 
Html5
prithag92
 
HTML5 introduction for beginners
Vineeth N Krishnan
 
Html5 Future of WEB
Amit Choudhary
 
Html5
prithag92
 
Html5 workshop part 1
NAILBITER
 
HTML5 & CSS3 refresher for mobile apps
Ivano Malavolta
 
Introduction to HTML5/CSS3 In Drupal 7
Mediacurrent
 
HTML5: An Introduction To Next Generation Web Development
Tilak Joshi
 
Html 5 Overview
Aditi Rustagi
 
HTML5 Webinar - Mind Storm Software
Romin Irani
 
HTML5-Tutorial-For-Beginn.6202488.pptx
BCAGen
 
Html5 & less css
Graham Johnson
 
Ad

Recently uploaded (20)

DOCX
ANNOTATION on objective 10 on pmes 2022-2025
joviejanesegundo1
 
PPTX
How to use grouped() method in Odoo 18 - Odoo Slides
Celine George
 
PDF
The Power of Compound Interest (Stanford Initiative for Financial Decision-Ma...
Stanford IFDM
 
PDF
Public Health For The 21st Century 1st Edition Judy Orme Jane Powell
trjnesjnqg7801
 
PPTX
How to Manage Wins & Losses in Odoo 18 CRM
Celine George
 
PPTX
F-BLOCK ELEMENTS POWER POINT PRESENTATIONS
mprpgcwa2024
 
PDF
Free eBook ~100 Common English Proverbs (ebook) pdf.pdf
OH TEIK BIN
 
PPT
M&A5 Q1 1 differentiate evolving early Philippine conventional and contempora...
ErlizaRosete
 
PDF
CAD25 Gbadago and Fafa Presentation Revised-Aston Business School, UK.pdf
Kweku Zurek
 
PDF
Andreas Schleicher_Teaching Compass_Education 2040.pdf
EduSkills OECD
 
DOCX
MUSIC AND ARTS 5 DLL MATATAG LESSON EXEMPLAR QUARTER 1_Q1_W1.docx
DianaValiente5
 
DOCX
DLL english grade five goof for one week
FlordelynGonzales1
 
PPTX
Project 4 PART 1 AI Assistant Vocational Education
barmanjit380
 
PPTX
Tanja Vujicic - PISA for Schools contact Info
EduSkills OECD
 
PDF
Wikinomics How Mass Collaboration Changes Everything Don Tapscott
wcsqyzf5909
 
PPTX
Peer Teaching Observations During School Internship
AjayaMohanty7
 
PPTX
How to Configure Refusal of Applicants in Odoo 18 Recruitment
Celine George
 
PDF
Gladiolous Cultivation practices by AKL.pdf
kushallamichhame
 
PPTX
Aerobic and Anaerobic respiration and CPR.pptx
Olivier Rochester
 
PPTX
ENGLISH -PPT- Week1 Quarter1 -day-1.pptx
garcialhavz
 
ANNOTATION on objective 10 on pmes 2022-2025
joviejanesegundo1
 
How to use grouped() method in Odoo 18 - Odoo Slides
Celine George
 
The Power of Compound Interest (Stanford Initiative for Financial Decision-Ma...
Stanford IFDM
 
Public Health For The 21st Century 1st Edition Judy Orme Jane Powell
trjnesjnqg7801
 
How to Manage Wins & Losses in Odoo 18 CRM
Celine George
 
F-BLOCK ELEMENTS POWER POINT PRESENTATIONS
mprpgcwa2024
 
Free eBook ~100 Common English Proverbs (ebook) pdf.pdf
OH TEIK BIN
 
M&A5 Q1 1 differentiate evolving early Philippine conventional and contempora...
ErlizaRosete
 
CAD25 Gbadago and Fafa Presentation Revised-Aston Business School, UK.pdf
Kweku Zurek
 
Andreas Schleicher_Teaching Compass_Education 2040.pdf
EduSkills OECD
 
MUSIC AND ARTS 5 DLL MATATAG LESSON EXEMPLAR QUARTER 1_Q1_W1.docx
DianaValiente5
 
DLL english grade five goof for one week
FlordelynGonzales1
 
Project 4 PART 1 AI Assistant Vocational Education
barmanjit380
 
Tanja Vujicic - PISA for Schools contact Info
EduSkills OECD
 
Wikinomics How Mass Collaboration Changes Everything Don Tapscott
wcsqyzf5909
 
Peer Teaching Observations During School Internship
AjayaMohanty7
 
How to Configure Refusal of Applicants in Odoo 18 Recruitment
Celine George
 
Gladiolous Cultivation practices by AKL.pdf
kushallamichhame
 
Aerobic and Anaerobic respiration and CPR.pptx
Olivier Rochester
 
ENGLISH -PPT- Week1 Quarter1 -day-1.pptx
garcialhavz
 
Ad

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