HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
•
•
•




    –
    –
    –
•
    –
    –
    –
    –



    –
–
HTML5 and CSS3 Refresher
•
•
•
•
•
•
•
•
•
•
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
•
    –
•
    –
•
    –
•
    –
<!DOCTYPE html>
<html>
  <head>
     <title>Title</title>
  </head>
  <body>
  …
  </body>
</html>
•
•
•
•
•
•
•
•
•
•
•
•
•
<header>

<footer>

<nav>

<section>

<article>

<aside>
http://bit.ly/JCnuQJ
<command>

<details>

<summary>
<meter>
<progress>

<figure>

<figcaption>
<mark>
<time>
<wbr>
data-


getAttribute()
HTML5 and CSS3 Refresher
•
•
•
•
•
•
•
•
•
•
HTML5 and CSS3 Refresher

<input type="search">
<input   type="number">
<input   type="range">
<input   type="color">
<input   type="tel">
<input   type="url">
<input   type="email">
<input   type="date">
<input   type="month">
<input   type="week">
<input   type="time">
<input   type="datetime">
<input   type="datetime-local">
–

          <input type="text“ autofocus>



–

    <input type="text“ placeholder=“your name”>
•
•
•
•
•
•
•
•
•
•
<audio>



<audio controls>
    <source src="song.ogg" type="audio/ogg" />
    <source src="song.mp3" type="audio/mpeg" />
    Not Supported
</audio>


       sources 
HTML5 and CSS3 Refresher
play() pause() load() currentTime ended
    volume…


<video>



<video width="320" height="240" controls>
    <source src="movie.mp4" type="video/mp4" />
    <source src="movie.ogg" type="video/ogg" />
   Not Supported
</video>


       sources 
HTML5 and CSS3 Refresher
play() pause() load() currentTime ended
    volume…


<video>




<iframe width="560" height="315"
  src="http://www.youtube.com/embed/Wp20Sc8qPeo"
  frameborder="0" allowfullscreen></iframe>
•
•
•
•
•
•
•
•
•
•
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
•
•
•
•
•
•
•
•
•
•
HTML5 and CSS3 Refresher
function getLocation() {
   if(navigator.geolocation) {
       navigator.geolocation.getCurrentPosition(showPosition);
   } else {
       console.log(„no geolocalization‟);
   }
}

function showPosition(position) {
   console.log(position.coords.latitude);
   console.log(position.coords.longitude);
}
HTML5 and CSS3 Refresher
•
•
•
•
•
•
•
•
•
•
•
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
•
•
•
•
•
•
•
•
•
•






•
•
•
•
HTML5 and CSS3 Refresher
•
•
•
•
•
•
•
•
•
•
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
•
•
•
•
•
•
•
•
•
•





    
•
•
var worker = new Worker(“worker.js”);
$(„#button‟).click(function(event) {
      $(„#output‟).html(“starting”);
      worker.postMessage(“start”);
});

worker.onmessage = function(event) {
     $(„#output‟).html(event.data);
}
onmessage = function(event) {
    if(event.data === “start”) {
          var result;
          // do something with result
          postMessage(result);
    }
}
HTML5 and CSS3 Refresher
•
•
•
•
•
•
•
•
HTML5 and CSS3 Refresher
–
–
–
–


–

–
–
•
•
•
•
•
•
•
•
selector {
     property: value;
     property2: value2, value3;
     ...
}




body {
   background-color: red;
}
div {
   background-color: green;
}
h1, h2, h3 {
   background-color: red;
}
div {
  list-style-image: url(image.png);
  list-style-position: inside;
  list-style-style: circle;
}
div {
  background:url(img.png), url(img2.png);
  background-size:80px 60px;
  background-repeat:no-repeat;
  background-origin:content-box;
}
div {
  background-color: blue;
  background-color: rgba(0, 0, 255, 0.2);
  background-color: hsla(240, 100%, 50%, 0.2);
}
div {
        background: -webkit-gradient(linear, right top, left
                      bottom, from(red), green));
}


linear 
right-top 
left-bottom 
from 
to 
p {
  color: grey;
  letter-spacing: 5px;
  text-align: center;
  text-decoration: underline;
  text-indent: 10px;
  text-transform: capitalize;
  word-spacing: 10px;
}
p {
  text-shadow: 2px 10px 5px #FF0000;
  text-overflow: ellipsis;
  word-wrap:break-word;
}

     
     
     
          
HTML5 and CSS3 Refresher
•
•
•
•
•
•
•
•
•
    a { color: red; }
•
    #redLink { color: red; }
•
    redLink { color: red; }
•       
•       
•       

•                      target
•                           target=
    "_blank“
•               
•       
                     "https”
•       
                    ".pdf”
•           
                               “mobile“
•       

•               


•   
•
•
•
•
•
•
•
•
HTML5 and CSS3 Refresher
div {
  width: 100px;
  height: 40px;
  padding: 10px;
  border: 5px solid gray;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 10px 10px 5px red;
}
div {
  border-image:url(border.png) 30 30 round;
}
•
•
•
•
•
•
•
•
div {
  display: none;
}
block
•


inline
•
•

inline-block
•

   –
div.hidden {
  visibility: hidden;
}




visible, collapse, inherit
box:
•
•               box-orient

#div {
  display: box;
  box-orient: horizontal;
}
display: box




box-orient




box-direction
box-pack




           box-orient: horizontal;
           box-pack: end;
box-align




            box-orient: horizontal;
            box-align: center;
             width

box-flex
           #box1 {
           width: 100px;
           }
           #box2 {
           box-flex: 1;
           }
           #box3 {
           box-flex: 2;
           }
•
•
•
•
•
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
•
•
•
•
•
•
•
•
@font-face {
  font-family: NAME;
  src: url(Dimbo.ttf);
  font-weight: normal;
  font-style: normal;
}
NAME



div {
  font-family: NAME;
}
HTML5 and CSS3 Refresher
•
•
•
•
•
•
•
•
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher
•
    –
        all
•
    –

•
    –
•
    –
.imageThumbnail {
  width; 200px;
  transition: all ease-in 3s;
}

.zoomed {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 480px;
}

$(„.imageThumbnail‟).addClass(„zoomed‟);
div {
  animation: test 5s ease-in;
}

 
@keyframes test{
  0%   {background:   red; left:0px; top:0px;}
  25% {background:    yellow; left:200px; top:0px;}
  50% {background:    blue; left:200px; top:200px;}
  75% {background:    green; left:0px; top:200px;}
  100% {background:   red; left:0px; top:0px;}
}
HTML5 and CSS3 Refresher
•
    –

    –
•
    –
    –
•
    –

    –
•
•
•
•
•
•
•
•
•
•
•
•
•
    <link rel=“stylesheet”
         href=“style.css” media=“screen” />

•
    @media screen {
         div { color: red; }
    }
•
•
•
•
HTML5 and CSS3 Refresher
@media screen and orientation: portrait
HTML5 and CSS3 Refresher
@media screen and (max-device-width: 480px){
  /* your style */
}
@media screen and (color),
       handheld and (color) {

    /* your style */

}
@media not (width:480px) {
  /* your style */
}
@media only screen
  and (min-device-width : 320px)
  and (max-device-width : 480px) {

      /* Styles */

}
@media only screen and -webkit-min-device-pixel-ratio: 2



@media only screen and
  (device-width: 768px) and (orientation: landscape)



@media only screen and
  (min-device-width: 320px) and (max-device-width: 480px)
HTML5 and CSS3 Refresher
•
    –
    –


•

    –
    –
•
    –


•
    –



•
    –
•

    –




•
HTML5 and CSS3 Refresher
HTML5 and CSS3 Refresher

More Related Content

PDF
CSS3 Refresher
PDF
PhoneGap: Local Storage
PPTX
CSS: A Slippery Slope to the Backend
PDF
Jquery In Rails
PPTX
Jquery-overview
PDF
Emmet cheat-sheet
PPTX
Jquery introduction
PDF
Jina Bolton
CSS3 Refresher
PhoneGap: Local Storage
CSS: A Slippery Slope to the Backend
Jquery In Rails
Jquery-overview
Emmet cheat-sheet
Jquery introduction
Jina Bolton

What's hot (20)

PDF
Learning jQuery made exciting in an interactive session by one of our team me...
PDF
Crowdsourcing with Django
PPTX
jQuery from the very beginning
PDF
Rediscovering JavaScript: The Language Behind The Libraries
PDF
ApacheCon NA11 - Apache Celix, Universal OSGi?
KEY
JQuery In Rails
PDF
Introduzione JQuery
KEY
Learning How To Use Jquery #3
PDF
The Dom Scripting Toolkit J Query
PDF
Make your own wp cli command in 10min
PDF
Node.js - Demnächst auf einem Server in Ihrer Nähe
PDF
RubyBarCamp “Полезные gems и plugins”
PDF
Shibuya.js Lightning Talks
PDF
Automatically Spotting Cross-language Relations
PDF
HTML5 workshop, forms
PPTX
PDF
Shortcodes In-Depth
PDF
Jqeury ajax plugins
PPTX
Fact, Fiction, and FP
PDF
Accelerated Native Mobile Development with the Ti gem
Learning jQuery made exciting in an interactive session by one of our team me...
Crowdsourcing with Django
jQuery from the very beginning
Rediscovering JavaScript: The Language Behind The Libraries
ApacheCon NA11 - Apache Celix, Universal OSGi?
JQuery In Rails
Introduzione JQuery
Learning How To Use Jquery #3
The Dom Scripting Toolkit J Query
Make your own wp cli command in 10min
Node.js - Demnächst auf einem Server in Ihrer Nähe
RubyBarCamp “Полезные gems и plugins”
Shibuya.js Lightning Talks
Automatically Spotting Cross-language Relations
HTML5 workshop, forms
Shortcodes In-Depth
Jqeury ajax plugins
Fact, Fiction, and FP
Accelerated Native Mobile Development with the Ti gem
Ad

Viewers also liked (20)

PDF
CSS Refresher
PDF
PhoneGap
PDF
Sitemaps & Wireframing
PDF
Javascript and jQuery for Mobile
PDF
Modeling behaviour via UML state machines [Software Modeling] [Computer Scie...
PDF
Html5 i css3
PDF
HTML with a little CSS
PPTX
(Fast) Introduction to HTML & CSS
PDF
[2016/2017] RESEARCH in software engineering
PPTX
Presentation about html5 css3
PDF
Mobile Apps Development: Technological strategies and Monetization
PDF
Backbone.js
PDF
Handlebars & Require JS
PDF
Local data storage for mobile apps
PDF
Mobile geolocation and mapping
PDF
PhoneGap: Accessing Device Capabilities
PDF
The Mobile ecosystem, Context & Strategies
PDF
Apache Cordova APIs version 4.3.0
PDF
UI Design Patterns for Mobile Apps
PDF
Backbone JS for mobile apps
CSS Refresher
PhoneGap
Sitemaps & Wireframing
Javascript and jQuery for Mobile
Modeling behaviour via UML state machines [Software Modeling] [Computer Scie...
Html5 i css3
HTML with a little CSS
(Fast) Introduction to HTML & CSS
[2016/2017] RESEARCH in software engineering
Presentation about html5 css3
Mobile Apps Development: Technological strategies and Monetization
Backbone.js
Handlebars & Require JS
Local data storage for mobile apps
Mobile geolocation and mapping
PhoneGap: Accessing Device Capabilities
The Mobile ecosystem, Context & Strategies
Apache Cordova APIs version 4.3.0
UI Design Patterns for Mobile Apps
Backbone JS for mobile apps
Ad

Similar to HTML5 and CSS3 Refresher (20)

PDF
Accelerated Stylesheets
KEY
HTML5, CSS3, and other fancy buzzwords
PPTX
Html5 on Mobile(For Developer)
PDF
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
PDF
Pinkoi Mobile Web
PPTX
HTML and CSS part 3
PDF
HTML5 and CSS3 – exploring mobile possibilities - Frontend Conference Zürich
PDF
Please use these instructions to help. Please only edit the CSS, and.pdf
PDF
Compass And Sass(Tim Riley)
KEY
Sass Essentials at Mobile Camp LA
PDF
The Future of CSS Layout
PPT
The Mobile Development Landscape
PDF
Think Vitamin CSS
PDF
follow theses instructions and work on the page Chapter07pr.pdf
PDF
Responsive websites. Toolbox
PDF
Fewd week7 slides
PDF
CSS3: Simply Responsive
PDF
Media queries
PDF
Devon 2011-f-1 반응형 웹 디자인
PDF
Great Responsive-ability Web Design
Accelerated Stylesheets
HTML5, CSS3, and other fancy buzzwords
Html5 on Mobile(For Developer)
HTML5 and CSS3: Exploring Mobile Possibilities - London Ajax Mobile Event
Pinkoi Mobile Web
HTML and CSS part 3
HTML5 and CSS3 – exploring mobile possibilities - Frontend Conference Zürich
Please use these instructions to help. Please only edit the CSS, and.pdf
Compass And Sass(Tim Riley)
Sass Essentials at Mobile Camp LA
The Future of CSS Layout
The Mobile Development Landscape
Think Vitamin CSS
follow theses instructions and work on the page Chapter07pr.pdf
Responsive websites. Toolbox
Fewd week7 slides
CSS3: Simply Responsive
Media queries
Devon 2011-f-1 반응형 웹 디자인
Great Responsive-ability Web Design

More from Ivano Malavolta (20)

PDF
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
PDF
Conducting Experiments on the Software Architecture of Robotic Systems (QRARS...
PDF
The H2020 experience
PDF
The Green Lab - Research cocktail @Vrije Universiteit Amsterdam (October 2020)
PDF
Software sustainability and Green IT
PDF
Navigation-aware and Personalized Prefetching of Network Requests in Android ...
PDF
How Maintainability Issues of Android Apps Evolve [ICSME 2018]
PDF
Collaborative Model-Driven Software Engineering: a Classification Framework a...
PDF
Experimenting on Mobile Apps Quality - a tale about Energy, Performance, and ...
PDF
Modeling objects interaction via UML sequence diagrams [Software Design] [Com...
PDF
Modeling behaviour via UML state machines [Software Design] [Computer Science...
PDF
Object-oriented design patterns in UML [Software Design] [Computer Science] [...
PDF
Structure modeling with UML [Software Design] [Computer Science] [Vrije Unive...
PDF
Requirements engineering with UML [Software Design] [Computer Science] [Vrije...
PDF
Modeling and abstraction, software development process [Software Design] [Com...
PDF
[2017/2018] Agile development
PDF
Reconstructing microservice-based architectures
PDF
[2017/2018] AADL - Architecture Analysis and Design Language
PDF
[2017/2018] Architectural languages
PDF
[2017/2018] Introduction to Software Architecture
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
Conducting Experiments on the Software Architecture of Robotic Systems (QRARS...
The H2020 experience
The Green Lab - Research cocktail @Vrije Universiteit Amsterdam (October 2020)
Software sustainability and Green IT
Navigation-aware and Personalized Prefetching of Network Requests in Android ...
How Maintainability Issues of Android Apps Evolve [ICSME 2018]
Collaborative Model-Driven Software Engineering: a Classification Framework a...
Experimenting on Mobile Apps Quality - a tale about Energy, Performance, and ...
Modeling objects interaction via UML sequence diagrams [Software Design] [Com...
Modeling behaviour via UML state machines [Software Design] [Computer Science...
Object-oriented design patterns in UML [Software Design] [Computer Science] [...
Structure modeling with UML [Software Design] [Computer Science] [Vrije Unive...
Requirements engineering with UML [Software Design] [Computer Science] [Vrije...
Modeling and abstraction, software development process [Software Design] [Com...
[2017/2018] Agile development
Reconstructing microservice-based architectures
[2017/2018] AADL - Architecture Analysis and Design Language
[2017/2018] Architectural languages
[2017/2018] Introduction to Software Architecture

Recently uploaded (20)

PDF
Architecture types and enterprise applications.pdf
PPTX
2018-HIPAA-Renewal-Training for executives
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PPTX
The various Industrial Revolutions .pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Two-dimensional Klein-Gordon and Sine-Gordon numerical solutions based on dee...
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PPT
Geologic Time for studying geology for geologist
PDF
A proposed approach for plagiarism detection in Myanmar Unicode text
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
Architecture types and enterprise applications.pdf
2018-HIPAA-Renewal-Training for executives
sbt 2.0: go big (Scala Days 2025 edition)
1 - Historical Antecedents, Social Consideration.pdf
Developing a website for English-speaking practice to English as a foreign la...
OpenACC and Open Hackathons Monthly Highlights July 2025
The various Industrial Revolutions .pptx
Hindi spoken digit analysis for native and non-native speakers
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
A comparative study of natural language inference in Swahili using monolingua...
Two-dimensional Klein-Gordon and Sine-Gordon numerical solutions based on dee...
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
A contest of sentiment analysis: k-nearest neighbor versus neural network
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
sustainability-14-14877-v2.pddhzftheheeeee
Taming the Chaos: How to Turn Unstructured Data into Decisions
Geologic Time for studying geology for geologist
A proposed approach for plagiarism detection in Myanmar Unicode text
NewMind AI Weekly Chronicles – August ’25 Week III

HTML5 and CSS3 Refresher