SlideShare a Scribd company logo
HTML 5HTML 5
INDEX
Web Tech History
What is HTML5?What is HTML5?
HTML5 is a new version of HTML 4.01 and XHTML 1.0 focusing on the needs of Web
application developers
HTML5 is still a work in progress…. W3C final recommendation: 2020
HTML + CSS + JS + multimedia
The minimal HTML5 pageThe minimal HTML5 page
<!DOCTYPE>
<html>
<head>
<title>Title</title>
</head>
<body>
…
</body>
</html>
New FeaturesNew FeaturesSome of the most interesting new features in HTML5 :
• The canvas element for drawing
• The video and audio elements for media playback
• Better support for local offline storage
• New content specific elements, like article, footer, header, nav, section
• New form controls, like calendar, date, time, email, url, search
Some rules for HTML5 were established:
• New features should be based on HTML, CSS, DOM, and JavaScript
• Reduce the need for external plugins (like Flash)
• Better error handling
• More markup to replace scripting
• HTML5 should be device independent
• The development process should be visible to the public
Browser SupportBrowser Support
HTML5 is not yet an official
standard, and no browsers have
full HTML5 support.
But all major browsers (Safari,
Chrome, Firefox, Opera, Internet
Explorer) continue to add new
HTML5 features to their latest
versions.
Structural Elements
<header>
<hgroup>
<nav>
<section>
<article>
<figure>
<video>
<audio>
<canvas>
<footer>
…and more
HTML4
•Poor accessibility
•Unnecessary complexity
•Larger document size
<doctype>Less is More
<!DOCTYPE> tag is used for specifying which language and version the document is using.
<!DOCTYPE> tag is mostly useless, as HTML 5 does not require a reference to a DTD
<html>Less is More
<html> tag is the container that contains all other HTML elements
charsetLess is More
<meta> tag is used for declaring metadata for the HTML document.
Used for http response message headers.
<link> & <script>Less is More
<link> tag is used for defining a link to an external document
<header>
<header> tag represents a group of headings, subheadings, version information, navigational
controls
<Nav>
<nav> tag is used for declaring a navigational section of the HTML document.
<Section>
<section> tag is used to represent a section within an article.
Any given web page or article could have many sections. For example, a homepage could have a
section for introducing the company, another section for news items, and another section for
contact information.
<article>
<article> tag is used to represent an article. More specifically, the content within the <article> tag
is independent from the other content on the site.
<aside>
<aside> tag is used to represent content that is related to the surrounding content within an
article or web page.
This type of content is often represented in sidebars
<footer>
<footer> tag is used for defining the footer of an HTML document or section.
Footers usually contain information such as the author of the document, copyright information,
links to terms of use, privacy policy, etc.
<figure>
<figure> tag is used for annotating illustrations, diagrams, photos, code listings,
etc.
<figure id="1">
<figcaption>Figure 1.</figcaption>
</figure>
Html5 css3
Html5 css3
Form: < Inputs >
<input type=“password”>
“search”
“number”
“range”
“color”
“tel”
“email”
“url”
“date”, “week”, “datetime-local”, ...
“file”
Form Field Attributes
Autofocus
– Support for placing the focus on a specific form element
<input type="text“ autofocus>
Placeholder
– Support for placing placeholder text inside a form field
<input type="text“ placeholder=“your name”>
Audio Element
<audio> tag is used to specify audio on an HTML document.
<audio controls>
<source src="song.ogg" type="audio/ogg" />
<source src="song.mp3" type="audio/mpeg" />
Not Supported
</audio>
Multiple sources - the browser will use the first recognized format
Video Element
HTML 5 <video> tag is used to specify video on an HTML document. For
example, you could embed a music video on your web page for your
visitors to listen to and watch.
<video src=”a.mp4” width="320” height="240" autoplay> </video>
<video width="320" height="240" controls>
<source src="pr6.mp4" type='video/mp4'>
<source src="pr6.webm" type='video/webm'>
<source src="pr6.ogv" type='video/ogg'>
</video>
Canvas & SVG
Canvas
- draws 2D graphics, on the fly
- you use JavaScript to draw on the canvas
- rendered pixel by pixel
SVG
- describes 2D graphics in XML
- every element is available within the SVG DOM
- JavaScript event handlers for an element
Html5 css3
CSS3
1. CSS stands for Cascading Style Sheets Level 3
2. CSS3 is the latest standard for CSS.
3. CSS3 is split up into "modules"
CSS3 Syntax
p {color:red;text-align:center;}
id and class Selectors
id Selector
The id selector is used to specify a style for a single, unique element.
The id selector uses the id attribute of the HTML element, and is defined with a "#".
#para1
{
text-align:center;
color:red;
}
id and class Selectors
class Selector
The class selector is used to specify a style for a group of elements. Unlike the id selector, the
class selector is most often used on several elements.
This allows you to set a particular style for many HTML elements with the same class.
The class selector uses the HTML class attribute, and is defined with a "."
.para1, .para1
{
text-align:center;
color:red;
}
Applying CSS3
In-line
In-line styles are plonked straight into the HTML tags using the style attribute.
<p style="color: red">text</p>
Applying CSS3
Internal
Embedded, or internal, styles are used for the whole page. Inside the head
element, the style tags surround all of the styles for the page.
<!DOCTYPE html>
<html>
<head>
<title>CSS Example</title>
<style>
p {
color: red;
}
</style>
...
Applying CSS3
External
External styles are used for the whole, multiple-page website. There is a separate
CSS file, which will simply look something like:
<!DOCTYPE html>
<html>
<head>
<title>CSS Example</title>
<link rel="stylesheet" href="style.css">
...
CSS3 Borders Modules
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.
border-radius
box-shadow
border-image
CSS3 Borders Modules
border-radius
In CSS3, creating rounded corners is easy.
div
{
border:2px solid;
border-radius:25px ;
}
CSS3 Borders Modules
Box Shadow
box-shadow property is used to add shadow to boxes:
div
{
border:2px solid #888888;
box-shadow: 10px 10px 5px #888888;
}
CSS3 Borders Modules
Border Image
With the CSS3 border-image property you can use an image to create a
border:
div
{
border-image:url(border.png) 30 30 round;
}
CSS3 Text Effects Modules
In CSS3, the text-shadow property applies shadow to text.
You specify the horizontal shadow, the vertical shadow, the blur distance, &
the color of the shadow:
h1
{
text-shadow: 5px 5px 5px #FF0000;
}
Thanks !
Ad

More Related Content

What's hot (20)

HTML/HTML5
HTML/HTML5HTML/HTML5
HTML/HTML5
People Strategists
 
HTML CSS | Computer Science
HTML CSS | Computer ScienceHTML CSS | Computer Science
HTML CSS | Computer Science
Transweb Global Inc
 
Coding a Website with HTML
Coding a Website with HTMLCoding a Website with HTML
Coding a Website with HTML
wrhsbusiness
 
Origins and evolution of HTML and XHTML
Origins and evolution of HTML and XHTMLOrigins and evolution of HTML and XHTML
Origins and evolution of HTML and XHTML
Howpk
 
Web Page Designing Using HTML
Web Page Designing Using HTMLWeb Page Designing Using HTML
Web Page Designing Using HTML
Ashmita Tuition Center
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
NAGARAJU MAMILLAPALLY
 
HTML & CSS Masterclass
HTML & CSS MasterclassHTML & CSS Masterclass
HTML & CSS Masterclass
Bernardo Raposo
 
Html
HtmlHtml
Html
RajThakuri
 
Vskills certified css designer Notes
Vskills certified css designer NotesVskills certified css designer Notes
Vskills certified css designer Notes
Vskills
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Ann Alcid
 
Creating your 1st html page
Creating your 1st html pageCreating your 1st html page
Creating your 1st html page
Sara Corpuz
 
Html training part1
Html training part1Html training part1
Html training part1
than sare
 
Lesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLLesson 1: Introduction to HTML
Lesson 1: Introduction to HTML
Olivia Moran
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Ameer Khan
 
CSS Comprehensive Overview
CSS Comprehensive OverviewCSS Comprehensive Overview
CSS Comprehensive Overview
Mohamed Loey
 
Web Design Basics
Web Design BasicsWeb Design Basics
Web Design Basics
Cindy Royal
 
Html
HtmlHtml
Html
Nandakumar Ganapathy
 
Elements of html powerpoint
Elements of html powerpointElements of html powerpoint
Elements of html powerpoint
Anastasia1993
 
HTML email design and usability
HTML email design and usabilityHTML email design and usability
HTML email design and usability
Keith Kmett
 
HTML guide for beginners
HTML guide for beginnersHTML guide for beginners
HTML guide for beginners
Thesis Scientist Private Limited
 
Coding a Website with HTML
Coding a Website with HTMLCoding a Website with HTML
Coding a Website with HTML
wrhsbusiness
 
Origins and evolution of HTML and XHTML
Origins and evolution of HTML and XHTMLOrigins and evolution of HTML and XHTML
Origins and evolution of HTML and XHTML
Howpk
 
Vskills certified css designer Notes
Vskills certified css designer NotesVskills certified css designer Notes
Vskills certified css designer Notes
Vskills
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Ann Alcid
 
Creating your 1st html page
Creating your 1st html pageCreating your 1st html page
Creating your 1st html page
Sara Corpuz
 
Html training part1
Html training part1Html training part1
Html training part1
than sare
 
Lesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLLesson 1: Introduction to HTML
Lesson 1: Introduction to HTML
Olivia Moran
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Ameer Khan
 
CSS Comprehensive Overview
CSS Comprehensive OverviewCSS Comprehensive Overview
CSS Comprehensive Overview
Mohamed Loey
 
Web Design Basics
Web Design BasicsWeb Design Basics
Web Design Basics
Cindy Royal
 
Elements of html powerpoint
Elements of html powerpointElements of html powerpoint
Elements of html powerpoint
Anastasia1993
 
HTML email design and usability
HTML email design and usabilityHTML email design and usability
HTML email design and usability
Keith Kmett
 

Viewers also liked (18)

Harsh japee presentation
Harsh japee presentationHarsh japee presentation
Harsh japee presentation
Power Point
 
Цена на нефть что нас ждет в ближайшем будущем
Цена на нефть   что нас ждет в ближайшем будущемЦена на нефть   что нас ждет в ближайшем будущем
Цена на нефть что нас ждет в ближайшем будущем
Power Point
 
трейдинг по динамическим уровням (ма)
трейдинг по динамическим уровням (ма)трейдинг по динамическим уровням (ма)
трейдинг по динамическим уровням (ма)
Power Point
 
Eze
EzeEze
Eze
Power Point
 
Παρουσίαση
ΠαρουσίασηΠαρουσίαση
Παρουσίαση
Anna Xenaki
 
Παρουσίαση Scratch
Παρουσίαση ScratchΠαρουσίαση Scratch
Παρουσίαση Scratch
Anna Xenaki
 
Dr chookoonlip faac-showfxasia-20160917-brief
Dr chookoonlip faac-showfxasia-20160917-briefDr chookoonlip faac-showfxasia-20160917-brief
Dr chookoonlip faac-showfxasia-20160917-brief
Power Point
 
Дейтрейдинг
ДейтрейдингДейтрейдинг
Дейтрейдинг
Power Point
 
Трейдинг как профессия 2016
Трейдинг как профессия 2016Трейдинг как профессия 2016
Трейдинг как профессия 2016
Power Point
 
прибыльная торговля при помощи уровней
прибыльная торговля при помощи уровнейприбыльная торговля при помощи уровней
прибыльная торговля при помощи уровней
Power Point
 
Перспективы сырьевых активов
Перспективы сырьевых активовПерспективы сырьевых активов
Перспективы сырьевых активов
Power Point
 
Том Хугард
Том ХугардТом Хугард
Том Хугард
Power Point
 
Что ожидать от Eurusd в 2016 году
Что ожидать от Eurusd в 2016 годуЧто ожидать от Eurusd в 2016 году
Что ожидать от Eurusd в 2016 году
Power Point
 
The power to predict basics and advanced forex analysis
The power to predict   basics and advanced forex analysisThe power to predict   basics and advanced forex analysis
The power to predict basics and advanced forex analysis
Power Point
 
Ларри Песавенто
Ларри ПесавентоЛарри Песавенто
Ларри Песавенто
Power Point
 
Presentation for Camphill Special School's 50th Anniversary Pro Am Gala
Presentation for Camphill Special School's 50th Anniversary Pro Am GalaPresentation for Camphill Special School's 50th Anniversary Pro Am Gala
Presentation for Camphill Special School's 50th Anniversary Pro Am Gala
Melissa Monteith
 
LinkedIn : Visibilité versus Viralité de vos publications
LinkedIn : Visibilité versus Viralité de vos publicationsLinkedIn : Visibilité versus Viralité de vos publications
LinkedIn : Visibilité versus Viralité de vos publications
Consonaute
 
Harsh japee presentation
Harsh japee presentationHarsh japee presentation
Harsh japee presentation
Power Point
 
Цена на нефть что нас ждет в ближайшем будущем
Цена на нефть   что нас ждет в ближайшем будущемЦена на нефть   что нас ждет в ближайшем будущем
Цена на нефть что нас ждет в ближайшем будущем
Power Point
 
трейдинг по динамическим уровням (ма)
трейдинг по динамическим уровням (ма)трейдинг по динамическим уровням (ма)
трейдинг по динамическим уровням (ма)
Power Point
 
Παρουσίαση
ΠαρουσίασηΠαρουσίαση
Παρουσίαση
Anna Xenaki
 
Παρουσίαση Scratch
Παρουσίαση ScratchΠαρουσίαση Scratch
Παρουσίαση Scratch
Anna Xenaki
 
Dr chookoonlip faac-showfxasia-20160917-brief
Dr chookoonlip faac-showfxasia-20160917-briefDr chookoonlip faac-showfxasia-20160917-brief
Dr chookoonlip faac-showfxasia-20160917-brief
Power Point
 
Дейтрейдинг
ДейтрейдингДейтрейдинг
Дейтрейдинг
Power Point
 
Трейдинг как профессия 2016
Трейдинг как профессия 2016Трейдинг как профессия 2016
Трейдинг как профессия 2016
Power Point
 
прибыльная торговля при помощи уровней
прибыльная торговля при помощи уровнейприбыльная торговля при помощи уровней
прибыльная торговля при помощи уровней
Power Point
 
Перспективы сырьевых активов
Перспективы сырьевых активовПерспективы сырьевых активов
Перспективы сырьевых активов
Power Point
 
Том Хугард
Том ХугардТом Хугард
Том Хугард
Power Point
 
Что ожидать от Eurusd в 2016 году
Что ожидать от Eurusd в 2016 годуЧто ожидать от Eurusd в 2016 году
Что ожидать от Eurusd в 2016 году
Power Point
 
The power to predict basics and advanced forex analysis
The power to predict   basics and advanced forex analysisThe power to predict   basics and advanced forex analysis
The power to predict basics and advanced forex analysis
Power Point
 
Ларри Песавенто
Ларри ПесавентоЛарри Песавенто
Ларри Песавенто
Power Point
 
Presentation for Camphill Special School's 50th Anniversary Pro Am Gala
Presentation for Camphill Special School's 50th Anniversary Pro Am GalaPresentation for Camphill Special School's 50th Anniversary Pro Am Gala
Presentation for Camphill Special School's 50th Anniversary Pro Am Gala
Melissa Monteith
 
LinkedIn : Visibilité versus Viralité de vos publications
LinkedIn : Visibilité versus Viralité de vos publicationsLinkedIn : Visibilité versus Viralité de vos publications
LinkedIn : Visibilité versus Viralité de vos publications
Consonaute
 
Ad

Similar to Html5 css3 (20)

Introduction to Web Techniques_Key componenets_HTML Basics
Introduction to Web Techniques_Key componenets_HTML BasicsIntroduction to Web Techniques_Key componenets_HTML Basics
Introduction to Web Techniques_Key componenets_HTML Basics
DeepakUlape2
 
Web Page Designing
Web Page DesigningWeb Page Designing
Web Page Designing
Amit Mali
 
Html introduction
Html introductionHtml introduction
Html introduction
Dalia Elbadry
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
vardanyan99
 
Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3
bluejayjunior
 
Introduction to HTML: Overview and Structure
Introduction to HTML: Overview and StructureIntroduction to HTML: Overview and Structure
Introduction to HTML: Overview and Structure
JM PALEN
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptx
Stefan Oprea
 
Web Development , HTML & CSS & JAVASCRIPT
Web Development , HTML & CSS & JAVASCRIPTWeb Development , HTML & CSS & JAVASCRIPT
Web Development , HTML & CSS & JAVASCRIPT
VENKATANAGABHUVANESH
 
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
brianbyamukama302
 
Web design and Development
Web design and DevelopmentWeb design and Development
Web design and Development
Shagor Ahmed
 
Day1-HTML-CSS some basic css and html.pdf
Day1-HTML-CSS some basic css and html.pdfDay1-HTML-CSS some basic css and html.pdf
Day1-HTML-CSS some basic css and html.pdf
enasashri12
 
Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2
mmvidanes29
 
WEB PROGRAMMING bharathiar university bca unitII
WEB PROGRAMMING  bharathiar university bca unitIIWEB PROGRAMMING  bharathiar university bca unitII
WEB PROGRAMMING bharathiar university bca unitII
VinodhiniRavi2
 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
vaseemshaik21
 
Html
HtmlHtml
Html
Himanshu Singh
 
Html
HtmlHtml
Html
Himanshu Singh
 
HTML
HTMLHTML
HTML
Toni Kolev
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basics
xu fag
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
Aiman Hud
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basics
Nikita Garg
 
Introduction to Web Techniques_Key componenets_HTML Basics
Introduction to Web Techniques_Key componenets_HTML BasicsIntroduction to Web Techniques_Key componenets_HTML Basics
Introduction to Web Techniques_Key componenets_HTML Basics
DeepakUlape2
 
Web Page Designing
Web Page DesigningWeb Page Designing
Web Page Designing
Amit Mali
 
Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3
bluejayjunior
 
Introduction to HTML: Overview and Structure
Introduction to HTML: Overview and StructureIntroduction to HTML: Overview and Structure
Introduction to HTML: Overview and Structure
JM PALEN
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptx
Stefan Oprea
 
Web Development , HTML & CSS & JAVASCRIPT
Web Development , HTML & CSS & JAVASCRIPTWeb Development , HTML & CSS & JAVASCRIPT
Web Development , HTML & CSS & JAVASCRIPT
VENKATANAGABHUVANESH
 
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
WEBSITE DESIGN AND DEVELOPMENT WITH CASCADING STYLE SHEETS(CSS)
brianbyamukama302
 
Web design and Development
Web design and DevelopmentWeb design and Development
Web design and Development
Shagor Ahmed
 
Day1-HTML-CSS some basic css and html.pdf
Day1-HTML-CSS some basic css and html.pdfDay1-HTML-CSS some basic css and html.pdf
Day1-HTML-CSS some basic css and html.pdf
enasashri12
 
Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2
mmvidanes29
 
WEB PROGRAMMING bharathiar university bca unitII
WEB PROGRAMMING  bharathiar university bca unitIIWEB PROGRAMMING  bharathiar university bca unitII
WEB PROGRAMMING bharathiar university bca unitII
VinodhiniRavi2
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basics
xu fag
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
Aiman Hud
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basics
Nikita Garg
 
Ad

Recently uploaded (20)

Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Safe Software
 
Mastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B LandscapeMastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B Landscape
marketing943205
 
Canadian book publishing: Insights from the latest salary survey - Tech Forum...
Canadian book publishing: Insights from the latest salary survey - Tech Forum...Canadian book publishing: Insights from the latest salary survey - Tech Forum...
Canadian book publishing: Insights from the latest salary survey - Tech Forum...
BookNet Canada
 
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
Lorenzo Miniero
 
Financial Services Technology Summit 2025
Financial Services Technology Summit 2025Financial Services Technology Summit 2025
Financial Services Technology Summit 2025
Ray Bugg
 
Does Pornify Allow NSFW? Everything You Should Know
Does Pornify Allow NSFW? Everything You Should KnowDoes Pornify Allow NSFW? Everything You Should Know
Does Pornify Allow NSFW? Everything You Should Know
Pornify CC
 
machines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdfmachines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdf
AmirStern2
 
Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Lea...
Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Lea...Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Lea...
Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Lea...
Raffi Khatchadourian
 
How to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabberHow to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabber
eGrabber
 
IT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information TechnologyIT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information Technology
SHEHABALYAMANI
 
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptxSmart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Seasia Infotech
 
fennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solutionfennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solution
shallal2
 
Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?
Eric Torreborre
 
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz
 
AI You Can Trust: The Critical Role of Governance and Quality.pdf
AI You Can Trust: The Critical Role of Governance and Quality.pdfAI You Can Trust: The Critical Role of Governance and Quality.pdf
AI You Can Trust: The Critical Role of Governance and Quality.pdf
Precisely
 
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptxDevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
Justin Reock
 
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
Ivano Malavolta
 
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Mike Mingos
 
Slack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teamsSlack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teams
Nacho Cougil
 
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier VroomAI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
UXPA Boston
 
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Integrating FME with Python: Tips, Demos, and Best Practices for Powerful Aut...
Safe Software
 
Mastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B LandscapeMastering Testing in the Modern F&B Landscape
Mastering Testing in the Modern F&B Landscape
marketing943205
 
Canadian book publishing: Insights from the latest salary survey - Tech Forum...
Canadian book publishing: Insights from the latest salary survey - Tech Forum...Canadian book publishing: Insights from the latest salary survey - Tech Forum...
Canadian book publishing: Insights from the latest salary survey - Tech Forum...
BookNet Canada
 
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
Lorenzo Miniero
 
Financial Services Technology Summit 2025
Financial Services Technology Summit 2025Financial Services Technology Summit 2025
Financial Services Technology Summit 2025
Ray Bugg
 
Does Pornify Allow NSFW? Everything You Should Know
Does Pornify Allow NSFW? Everything You Should KnowDoes Pornify Allow NSFW? Everything You Should Know
Does Pornify Allow NSFW? Everything You Should Know
Pornify CC
 
machines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdfmachines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdf
AmirStern2
 
Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Lea...
Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Lea...Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Lea...
Hybridize Functions: A Tool for Automatically Refactoring Imperative Deep Lea...
Raffi Khatchadourian
 
How to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabberHow to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabber
eGrabber
 
IT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information TechnologyIT484 Cyber Forensics_Information Technology
IT484 Cyber Forensics_Information Technology
SHEHABALYAMANI
 
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptxSmart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Seasia Infotech
 
fennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solutionfennec fox optimization algorithm for optimal solution
fennec fox optimization algorithm for optimal solution
shallal2
 
Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?
Eric Torreborre
 
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz
 
AI You Can Trust: The Critical Role of Governance and Quality.pdf
AI You Can Trust: The Critical Role of Governance and Quality.pdfAI You Can Trust: The Critical Role of Governance and Quality.pdf
AI You Can Trust: The Critical Role of Governance and Quality.pdf
Precisely
 
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptxDevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
Justin Reock
 
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
Ivano Malavolta
 
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Mike Mingos
 
Slack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teamsSlack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teams
Nacho Cougil
 
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier VroomAI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
UXPA Boston
 

Html5 css3

  • 4. What is HTML5?What is HTML5? HTML5 is a new version of HTML 4.01 and XHTML 1.0 focusing on the needs of Web application developers HTML5 is still a work in progress…. W3C final recommendation: 2020 HTML + CSS + JS + multimedia
  • 5. The minimal HTML5 pageThe minimal HTML5 page <!DOCTYPE> <html> <head> <title>Title</title> </head> <body> … </body> </html>
  • 6. New FeaturesNew FeaturesSome of the most interesting new features in HTML5 : • The canvas element for drawing • The video and audio elements for media playback • Better support for local offline storage • New content specific elements, like article, footer, header, nav, section • New form controls, like calendar, date, time, email, url, search Some rules for HTML5 were established: • New features should be based on HTML, CSS, DOM, and JavaScript • Reduce the need for external plugins (like Flash) • Better error handling • More markup to replace scripting • HTML5 should be device independent • The development process should be visible to the public
  • 7. Browser SupportBrowser Support HTML5 is not yet an official standard, and no browsers have full HTML5 support. But all major browsers (Safari, Chrome, Firefox, Opera, Internet Explorer) continue to add new HTML5 features to their latest versions.
  • 9. <doctype>Less is More <!DOCTYPE> tag is used for specifying which language and version the document is using. <!DOCTYPE> tag is mostly useless, as HTML 5 does not require a reference to a DTD
  • 10. <html>Less is More <html> tag is the container that contains all other HTML elements
  • 11. charsetLess is More <meta> tag is used for declaring metadata for the HTML document. Used for http response message headers.
  • 12. <link> & <script>Less is More <link> tag is used for defining a link to an external document
  • 13. <header> <header> tag represents a group of headings, subheadings, version information, navigational controls
  • 14. <Nav> <nav> tag is used for declaring a navigational section of the HTML document.
  • 15. <Section> <section> tag is used to represent a section within an article. Any given web page or article could have many sections. For example, a homepage could have a section for introducing the company, another section for news items, and another section for contact information.
  • 16. <article> <article> tag is used to represent an article. More specifically, the content within the <article> tag is independent from the other content on the site.
  • 17. <aside> <aside> tag is used to represent content that is related to the surrounding content within an article or web page. This type of content is often represented in sidebars
  • 18. <footer> <footer> tag is used for defining the footer of an HTML document or section. Footers usually contain information such as the author of the document, copyright information, links to terms of use, privacy policy, etc.
  • 19. <figure> <figure> tag is used for annotating illustrations, diagrams, photos, code listings, etc. <figure id="1"> <figcaption>Figure 1.</figcaption> </figure>
  • 22. Form: < Inputs > <input type=“password”> “search” “number” “range” “color” “tel” “email” “url” “date”, “week”, “datetime-local”, ... “file”
  • 23. Form Field Attributes Autofocus – Support for placing the focus on a specific form element <input type="text“ autofocus> Placeholder – Support for placing placeholder text inside a form field <input type="text“ placeholder=“your name”>
  • 24. Audio Element <audio> tag is used to specify audio on an HTML document. <audio controls> <source src="song.ogg" type="audio/ogg" /> <source src="song.mp3" type="audio/mpeg" /> Not Supported </audio> Multiple sources - the browser will use the first recognized format
  • 25. Video Element HTML 5 <video> tag is used to specify video on an HTML document. For example, you could embed a music video on your web page for your visitors to listen to and watch. <video src=”a.mp4” width="320” height="240" autoplay> </video> <video width="320" height="240" controls> <source src="pr6.mp4" type='video/mp4'> <source src="pr6.webm" type='video/webm'> <source src="pr6.ogv" type='video/ogg'> </video>
  • 26. Canvas & SVG Canvas - draws 2D graphics, on the fly - you use JavaScript to draw on the canvas - rendered pixel by pixel SVG - describes 2D graphics in XML - every element is available within the SVG DOM - JavaScript event handlers for an element
  • 28. CSS3 1. CSS stands for Cascading Style Sheets Level 3 2. CSS3 is the latest standard for CSS. 3. CSS3 is split up into "modules"
  • 30. id and class Selectors id Selector The id selector is used to specify a style for a single, unique element. The id selector uses the id attribute of the HTML element, and is defined with a "#". #para1 { text-align:center; color:red; }
  • 31. id and class Selectors class Selector The class selector is used to specify a style for a group of elements. Unlike the id selector, the class selector is most often used on several elements. This allows you to set a particular style for many HTML elements with the same class. The class selector uses the HTML class attribute, and is defined with a "." .para1, .para1 { text-align:center; color:red; }
  • 32. Applying CSS3 In-line In-line styles are plonked straight into the HTML tags using the style attribute. <p style="color: red">text</p>
  • 33. Applying CSS3 Internal Embedded, or internal, styles are used for the whole page. Inside the head element, the style tags surround all of the styles for the page. <!DOCTYPE html> <html> <head> <title>CSS Example</title> <style> p { color: red; } </style> ...
  • 34. Applying CSS3 External External styles are used for the whole, multiple-page website. There is a separate CSS file, which will simply look something like: <!DOCTYPE html> <html> <head> <title>CSS Example</title> <link rel="stylesheet" href="style.css"> ...
  • 35. CSS3 Borders Modules 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. border-radius box-shadow border-image
  • 36. CSS3 Borders Modules border-radius In CSS3, creating rounded corners is easy. div { border:2px solid; border-radius:25px ; }
  • 37. CSS3 Borders Modules Box Shadow box-shadow property is used to add shadow to boxes: div { border:2px solid #888888; box-shadow: 10px 10px 5px #888888; }
  • 38. CSS3 Borders Modules Border Image With the CSS3 border-image property you can use an image to create a border: div { border-image:url(border.png) 30 30 round; }
  • 39. CSS3 Text Effects Modules In CSS3, the text-shadow property applies shadow to text. You specify the horizontal shadow, the vertical shadow, the blur distance, & the color of the shadow: h1 { text-shadow: 5px 5px 5px #FF0000; }
  翻译: