SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Principles of
Systems
Development
Week 5 Tutorial:
From XHTML to HTML5,
Creating HTML 4.01 pages
Richard Dron
Technical Innovation Officer
e: r.m.dron@salford.ac.uk
t: twitter.com/seniorenrico
Hi … it’s me, Richard, again …
2
• University Technical Innovation Officer – one
part of my role is to help in the development of
students’ technical skills in the digital area.
• Originally from IS project management
background, implementing solutions for Retail
and hospitality companies
• Worked as a freelance consultant and IS
project manager – various digital projects for
large and small companies including web
development
PoSD Aims
3
• To introduce key principles relating to the
development of robust, reusable and appropriate
information systems
• To introduce the Systems Development Lifecycle
• To introduce the principles of Systems Analysis
• To develop understanding of contemporary
development environments
• To provide an introduction to the development of
web-based software artefacts and their integration
with existing popular web-based systems such as
blogging, micro-blogging and other contemporary
social media
PoSD Learning Outcomes
4
Knowledge and Understanding
• Recognise key technologies underlying social network
technologies
• Analyse and identify the key elements of an information
system
• Create an interactive website/business media presence
• Understand the relationship of an information system to
the wider business context in which it is deployed
• Develop code in a web-based context including user
interaction
PoSD Learning Outcomes
5
Transferable/Key Skills and other attributes
Develop key professional skills, including:
• Self management / time management skills
• Communication
• Learn and develop high professional standards
• Use information technology:
• Process and present information using common
applications
• Review the appropriate use of Information Technology
• Develop communication skills:
• Read and respond to written material
• Produce written material
• Use a range of different technologies to communicate and
collaborate In virtual spaces
Quiz about … what you already know 
6
HTML
Recap!
Open Chrome or Firefox
at, or use your phone:
http://b.socrative.com
Enter room: SOCMED
Quiz = HTML Quiz
Week 5 Introduction
7
• HTML4 Recap
• XHTML – what is it?
• XHTML – the differences
• HTML5 Intro
Quick Exercise - Multi browser Test
8
• Visit
http://browsershots.org/
• Enter your PoSD site
URL
• http://teaching.mysalford.
biz/bns286
• Scroll to bottom deselect
all
• Select Windows
• Hit Submit
• We’ll come back to here
later on
HTML4 Recap - Structural Markup
9
<html lang=“en-gb”>
<head> ..WHAT GOES HERE?.. </head>
<body>
<div id=“header”><h1>Header</h1></div>
<div id=“menu”><ul><li>Navigation</li></ul></div>
<div
id=“content”><h2>Content</h2><p>Detail</p></div
>
<div id=“footer”><p>Footer</p></div>
</body>
</html>
HTML4 Recap - Doctype and Charset
10
HTML 4.01:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML
4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
HTML 4.01:
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
Careful when copy-pasting this from Microsoft to
Notepad – the quotation marks are not standard
font
5 minutes of fun …
11
Go to http://markup.roppychop.com/
XHMTL
12
Defining XHTML
13
• Stands for Extensible Hyper-Text Mark-Up
Language.
• Is a stricter version of HTML, thus aiming to
replace HTML.
• Is actually HTML defined as an XML (EXtensible
Mark-Up Language) application.
• Is a W3C (World Wide Web Consortium)
Recommendation.
• Now superseded by HTML5
Differences between HTML & XHTML
14
• XHTML elements must be properly nested.
• XHTML elements must always be closed.
• XHTML elements must be in lowercase.
These things are GOOD PRACTICE and you
should follow these rules with HTML4.01
Good Practice: Structure
15
• Structural Markup:
• Sections with
• Headings, Paragraphs & Lists
• Headers
– H1, H2, H3, … H6
• Paragraphs
– P
• Lists
– UL, LI
– OL, LI
– DL, DT, DD
• Linear Structure
Heading1
Paragraph
Heading2
Paragraph
Heading3
Paragraph
• List item
• List item
• List item
Heading3
Paragraph
Good Practice: Testing
16
• Test it in as many browsers as you can, on Mac
and Linux as well as on Windows
• Test your site on tablets
• Test your site on smartphones
Quick Exercise - Mobile Testing
17
• Try it on your own phone!
https://www.google.co.uk/webm
asters/tools/mobile-friendly/
Quick Exercise - Multi browser Test
18
• Results
• View your site in 3
browser versions,
spot any
differences?
HTML5
19
XHTML > HTML 5
20
Web Hypertext Application Technology Working
Group (WHATWG)
• June 2004: Opera and Mozilla set up the mailing list
• HTML5 — Web Applications 1.0 & Web Forms 2.0
• October 2006: Reinventing HTML — Tim Berners-Lee
• May 2007: W3C HTML Working Group
• January 2008: HTML 5
– ?: Last Call Working Draft
– 2012?: Candidate Recommendation
– 2022?: Proposed Recommendation
You don’t get rid of HTML4 standards – you
just improve upon them!
21
It’s easy for web developers to upgrade
their websites to HTML 5
22
Step 1: change the doctype at the top of the page.
OLD:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-
strict.dtd">
NEW:
<!DOCTYPE html>
HTML 5 differences
23
Why do Web Developers love HTML 5 ?
24
Better organization of page content and code
<header>
<nav>
<main>
<section>
<article>
<aside>
<footer>
HTML5 is a Collection of Features
25
• HTML5 is not an “all or nothing” capability.
• The HTML5 features available to end users
depend on what browser and what version of
that browser they are using.
•Users: How well does your browser
support html5?
Keep your browser updated so that as they add new feature
support you will have access to these new features!
Who will see your cool new HTML 5
features?
26
Changing the Doctype
will not break your
existing website
People using OLDER
browsers that don’t
support the new HTML5
features will simply miss
out on viewing the
website the way others
do.
Validation
27
• Validation – validate at Strict HTML4 to get into good habits
then convert to HTML5
• DOCTYPE – declare the DTD before <html>
– <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
• Character Encoding
– Latin Western
• Good clean strict code = 90% accessible
– Make sure your code validates correctly to HTML4 strict. Then turn it into
HTML5
– Use of < /> self-closing tags for XHTML unnecessary
Practical Exercise - Update your
PoSD site
28
• Edit your home page
• FTP the file
<html><head>
<title>My first webpage</title></head><body>
<div id=“header”><h1>My first webpage</h1></div>
<div id=“nav”><ul><li><a href=“#”>Item 1</a></li>
<li>Item 2</li><li>Item 3</li></ul></div>
<div id=“content”><h1>Lorem Ipsum Dolor</h1>
<p>….lorem…</p>
<p>….ipsum…</p>
<p>….dolor…</p>
</div>
<div id=“footer”><p>Terms and Conditions</p></div>
</body> </html>
Practical Exercises - Validate
29
http://validator.w3.org/
Practical Exercises – Speed Test
30
https://developers.google.com/speed/pagespeed
/insights/
Thank you

Any questions?

Weitere ähnliche Inhalte

Was ist angesagt?

HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)Asra Hameed
 
The Future of the Web: HTML5
The Future of the Web: HTML5The Future of the Web: HTML5
The Future of the Web: HTML5Derek Bender
 
HTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookHTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookScottperrone
 
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 XHTMLHowpk
 
Html css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers workHtml css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers workAlbino Tonnina
 
HTML Basic, CSS Basic, JavaScript basic.
HTML Basic, CSS Basic, JavaScript basic.HTML Basic, CSS Basic, JavaScript basic.
HTML Basic, CSS Basic, JavaScript basic.Beqa Chacha
 
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)actanimation
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basicsNikita Garg
 
Hyper text markup Language
Hyper text markup LanguageHyper text markup Language
Hyper text markup LanguageNaveeth Babu
 
Css presentation lecture 1
Css presentation lecture 1Css presentation lecture 1
Css presentation lecture 1Mudasir Syed
 
What is html xml and xhtml
What is html xml and xhtmlWhat is html xml and xhtml
What is html xml and xhtmlFkdiMl
 

Was ist angesagt? (20)

Xhtml
XhtmlXhtml
Xhtml
 
HTML/HTML5
HTML/HTML5HTML/HTML5
HTML/HTML5
 
Design Tools Html Xhtml
Design Tools Html XhtmlDesign Tools Html Xhtml
Design Tools Html Xhtml
 
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)
 
The Future of the Web: HTML5
The Future of the Web: HTML5The Future of the Web: HTML5
The Future of the Web: HTML5
 
HTML 5 Step By Step - Ebook
HTML 5 Step By Step - EbookHTML 5 Step By Step - Ebook
HTML 5 Step By Step - Ebook
 
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
 
HTML/CSS Lecture 1
HTML/CSS Lecture 1HTML/CSS Lecture 1
HTML/CSS Lecture 1
 
WWW and HTTP
WWW and HTTPWWW and HTTP
WWW and HTTP
 
Html css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers workHtml css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers work
 
Intr To Html & Xhtml
Intr To Html & XhtmlIntr To Html & Xhtml
Intr To Html & Xhtml
 
HTML Basic, CSS Basic, JavaScript basic.
HTML Basic, CSS Basic, JavaScript basic.HTML Basic, CSS Basic, JavaScript basic.
HTML Basic, CSS Basic, JavaScript basic.
 
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basics
 
HTML - 5 - Introduction
HTML - 5 - IntroductionHTML - 5 - Introduction
HTML - 5 - Introduction
 
Hyper text markup Language
Hyper text markup LanguageHyper text markup Language
Hyper text markup Language
 
XHTML
XHTMLXHTML
XHTML
 
Html 5
Html 5Html 5
Html 5
 
Css presentation lecture 1
Css presentation lecture 1Css presentation lecture 1
Css presentation lecture 1
 
What is html xml and xhtml
What is html xml and xhtmlWhat is html xml and xhtml
What is html xml and xhtml
 

Andere mochten auch

Comissão de impeachment parecer favorável ao afastamento de dilma
Comissão de impeachment parecer favorável ao afastamento de dilmaComissão de impeachment parecer favorável ao afastamento de dilma
Comissão de impeachment parecer favorável ao afastamento de dilmaJosé Ripardo
 
Пед. діяльність Грінченка
Пед. діяльність ГрінченкаПед. діяльність Грінченка
Пед. діяльність ГрінченкаAlina Kapitula
 
Protocolos da atenção básica saúde das mulheres
Protocolos da atenção básica   saúde das mulheresProtocolos da atenção básica   saúde das mulheres
Protocolos da atenção básica saúde das mulheresJosé Ripardo
 
Grupo de Ayuda Mutua de Familiares Rey Ardid
Grupo de Ayuda Mutua de Familiares Rey ArdidGrupo de Ayuda Mutua de Familiares Rey Ardid
Grupo de Ayuda Mutua de Familiares Rey ArdidSergio Siurana López
 
Growing Your Business With Social Media in 2016
Growing Your Business With Social Media in 2016Growing Your Business With Social Media in 2016
Growing Your Business With Social Media in 2016Tamira S. Hamilton, MBA
 
Crafting your Social Media Strategy
Crafting your Social Media StrategyCrafting your Social Media Strategy
Crafting your Social Media StrategyAlbertina Navas
 
Novo guia de manejo clínico para chikungunya
Novo guia de manejo clínico para chikungunyaNovo guia de manejo clínico para chikungunya
Novo guia de manejo clínico para chikungunyaJosé Ripardo
 
What Is Interaction Design
What Is Interaction DesignWhat Is Interaction Design
What Is Interaction DesignGraeme Smith
 

Andere mochten auch (14)

Comissão de impeachment parecer favorável ao afastamento de dilma
Comissão de impeachment parecer favorável ao afastamento de dilmaComissão de impeachment parecer favorável ao afastamento de dilma
Comissão de impeachment parecer favorável ao afastamento de dilma
 
Пед. діяльність Грінченка
Пед. діяльність ГрінченкаПед. діяльність Грінченка
Пед. діяльність Грінченка
 
Happy New year
Happy New yearHappy New year
Happy New year
 
EAFM202 3500
EAFM202 3500EAFM202 3500
EAFM202 3500
 
Protocolos da atenção básica saúde das mulheres
Protocolos da atenção básica   saúde das mulheresProtocolos da atenção básica   saúde das mulheres
Protocolos da atenção básica saúde das mulheres
 
Grupo de Ayuda Mutua de Familiares Rey Ardid
Grupo de Ayuda Mutua de Familiares Rey ArdidGrupo de Ayuda Mutua de Familiares Rey Ardid
Grupo de Ayuda Mutua de Familiares Rey Ardid
 
Growing Your Business With Social Media in 2016
Growing Your Business With Social Media in 2016Growing Your Business With Social Media in 2016
Growing Your Business With Social Media in 2016
 
Powerpoint turbosysteem
Powerpoint turbosysteemPowerpoint turbosysteem
Powerpoint turbosysteem
 
Crafting your Social Media Strategy
Crafting your Social Media StrategyCrafting your Social Media Strategy
Crafting your Social Media Strategy
 
Novo guia de manejo clínico para chikungunya
Novo guia de manejo clínico para chikungunyaNovo guia de manejo clínico para chikungunya
Novo guia de manejo clínico para chikungunya
 
Anatomie
AnatomieAnatomie
Anatomie
 
Contoh Surat Panggilan Kerja Penipu
Contoh Surat Panggilan Kerja PenipuContoh Surat Panggilan Kerja Penipu
Contoh Surat Panggilan Kerja Penipu
 
What Is Interaction Design
What Is Interaction DesignWhat Is Interaction Design
What Is Interaction Design
 
1617-2017 : 400 anos carisma
1617-2017 : 400 anos carisma1617-2017 : 400 anos carisma
1617-2017 : 400 anos carisma
 

Ähnlich wie 05 RD PoSD Tutorial_xhtml_to_html5_2016

IWMW 2002: Web standards briefing (session C2)
IWMW 2002: Web standards briefing (session C2)IWMW 2002: Web standards briefing (session C2)
IWMW 2002: Web standards briefing (session C2)IWMW
 
02 From HTML tags to XHTML
02 From HTML tags to XHTML02 From HTML tags to XHTML
02 From HTML tags to XHTMLRich Dron
 
9781111528705_PPT_ch03.ppt
9781111528705_PPT_ch03.ppt9781111528705_PPT_ch03.ppt
9781111528705_PPT_ch03.pptSimonChirambira
 
Fii Practic Frontend BeeNear - laborator 1
Fii Practic Frontend BeeNear - laborator 1Fii Practic Frontend BeeNear - laborator 1
Fii Practic Frontend BeeNear - laborator 1BeeNear
 
Web design - Applications and web application definition
Web design - Applications and web application definitionWeb design - Applications and web application definition
Web design - Applications and web application definitionMustafa Kamel Mohammadi
 
Introduction web tech
Introduction web techIntroduction web tech
Introduction web techLiaquat Rahoo
 
[Workshop Summits] Microformats Workshop
[Workshop Summits] Microformats Workshop[Workshop Summits] Microformats Workshop
[Workshop Summits] Microformats WorkshopEmily Lewis
 
HTML Demo.ppt
HTML Demo.pptHTML Demo.ppt
HTML Demo.pptLimEchYrr
 
Presentation 1 Web--dev
Presentation 1 Web--devPresentation 1 Web--dev
Presentation 1 Web--devaltsav
 
9781111528705_PPT_ch013.pptx
9781111528705_PPT_ch013.pptx9781111528705_PPT_ch013.pptx
9781111528705_PPT_ch013.pptxSimonChirambira
 
9781111528705_PPT_ch01.pptx
9781111528705_PPT_ch01.pptx9781111528705_PPT_ch01.pptx
9781111528705_PPT_ch01.pptxSimonChirambira
 
9781111528705_PPT_ch014.pptx
9781111528705_PPT_ch014.pptx9781111528705_PPT_ch014.pptx
9781111528705_PPT_ch014.pptxSimonChirambira
 
9781111528705_PPT_ch012.pptx
9781111528705_PPT_ch012.pptx9781111528705_PPT_ch012.pptx
9781111528705_PPT_ch012.pptxSimonChirambira
 
Absolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalAbsolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalRod Martin
 

Ähnlich wie 05 RD PoSD Tutorial_xhtml_to_html5_2016 (20)

IWMW 2002: Web standards briefing (session C2)
IWMW 2002: Web standards briefing (session C2)IWMW 2002: Web standards briefing (session C2)
IWMW 2002: Web standards briefing (session C2)
 
02 From HTML tags to XHTML
02 From HTML tags to XHTML02 From HTML tags to XHTML
02 From HTML tags to XHTML
 
Ppt ch03
Ppt ch03Ppt ch03
Ppt ch03
 
Ppt ch03
Ppt ch03Ppt ch03
Ppt ch03
 
Ppt ch01
Ppt ch01Ppt ch01
Ppt ch01
 
Ppt ch01
Ppt ch01Ppt ch01
Ppt ch01
 
9781111528705_PPT_ch03.ppt
9781111528705_PPT_ch03.ppt9781111528705_PPT_ch03.ppt
9781111528705_PPT_ch03.ppt
 
Html,CSS & UI/UX design
Html,CSS & UI/UX designHtml,CSS & UI/UX design
Html,CSS & UI/UX design
 
Fii Practic Frontend BeeNear - laborator 1
Fii Practic Frontend BeeNear - laborator 1Fii Practic Frontend BeeNear - laborator 1
Fii Practic Frontend BeeNear - laborator 1
 
Web design - Applications and web application definition
Web design - Applications and web application definitionWeb design - Applications and web application definition
Web design - Applications and web application definition
 
Introduction web tech
Introduction web techIntroduction web tech
Introduction web tech
 
[Workshop Summits] Microformats Workshop
[Workshop Summits] Microformats Workshop[Workshop Summits] Microformats Workshop
[Workshop Summits] Microformats Workshop
 
HTML Demo.ppt
HTML Demo.pptHTML Demo.ppt
HTML Demo.ppt
 
Presentation 1 Web--dev
Presentation 1 Web--devPresentation 1 Web--dev
Presentation 1 Web--dev
 
9 10 july2020
9 10 july20209 10 july2020
9 10 july2020
 
9781111528705_PPT_ch013.pptx
9781111528705_PPT_ch013.pptx9781111528705_PPT_ch013.pptx
9781111528705_PPT_ch013.pptx
 
9781111528705_PPT_ch01.pptx
9781111528705_PPT_ch01.pptx9781111528705_PPT_ch01.pptx
9781111528705_PPT_ch01.pptx
 
9781111528705_PPT_ch014.pptx
9781111528705_PPT_ch014.pptx9781111528705_PPT_ch014.pptx
9781111528705_PPT_ch014.pptx
 
9781111528705_PPT_ch012.pptx
9781111528705_PPT_ch012.pptx9781111528705_PPT_ch012.pptx
9781111528705_PPT_ch012.pptx
 
Absolute Beginners Guide to Drupal
Absolute Beginners Guide to DrupalAbsolute Beginners Guide to Drupal
Absolute Beginners Guide to Drupal
 

Kürzlich hochgeladen

Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Kürzlich hochgeladen (20)

Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

05 RD PoSD Tutorial_xhtml_to_html5_2016

  • 1. Principles of Systems Development Week 5 Tutorial: From XHTML to HTML5, Creating HTML 4.01 pages Richard Dron Technical Innovation Officer e: r.m.dron@salford.ac.uk t: twitter.com/seniorenrico
  • 2. Hi … it’s me, Richard, again … 2 • University Technical Innovation Officer – one part of my role is to help in the development of students’ technical skills in the digital area. • Originally from IS project management background, implementing solutions for Retail and hospitality companies • Worked as a freelance consultant and IS project manager – various digital projects for large and small companies including web development
  • 3. PoSD Aims 3 • To introduce key principles relating to the development of robust, reusable and appropriate information systems • To introduce the Systems Development Lifecycle • To introduce the principles of Systems Analysis • To develop understanding of contemporary development environments • To provide an introduction to the development of web-based software artefacts and their integration with existing popular web-based systems such as blogging, micro-blogging and other contemporary social media
  • 4. PoSD Learning Outcomes 4 Knowledge and Understanding • Recognise key technologies underlying social network technologies • Analyse and identify the key elements of an information system • Create an interactive website/business media presence • Understand the relationship of an information system to the wider business context in which it is deployed • Develop code in a web-based context including user interaction
  • 5. PoSD Learning Outcomes 5 Transferable/Key Skills and other attributes Develop key professional skills, including: • Self management / time management skills • Communication • Learn and develop high professional standards • Use information technology: • Process and present information using common applications • Review the appropriate use of Information Technology • Develop communication skills: • Read and respond to written material • Produce written material • Use a range of different technologies to communicate and collaborate In virtual spaces
  • 6. Quiz about … what you already know  6 HTML Recap! Open Chrome or Firefox at, or use your phone: http://b.socrative.com Enter room: SOCMED Quiz = HTML Quiz
  • 7. Week 5 Introduction 7 • HTML4 Recap • XHTML – what is it? • XHTML – the differences • HTML5 Intro
  • 8. Quick Exercise - Multi browser Test 8 • Visit http://browsershots.org/ • Enter your PoSD site URL • http://teaching.mysalford. biz/bns286 • Scroll to bottom deselect all • Select Windows • Hit Submit • We’ll come back to here later on
  • 9. HTML4 Recap - Structural Markup 9 <html lang=“en-gb”> <head> ..WHAT GOES HERE?.. </head> <body> <div id=“header”><h1>Header</h1></div> <div id=“menu”><ul><li>Navigation</li></ul></div> <div id=“content”><h2>Content</h2><p>Detail</p></div > <div id=“footer”><p>Footer</p></div> </body> </html>
  • 10. HTML4 Recap - Doctype and Charset 10 HTML 4.01: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> HTML 4.01: <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> Careful when copy-pasting this from Microsoft to Notepad – the quotation marks are not standard font
  • 11. 5 minutes of fun … 11 Go to http://markup.roppychop.com/
  • 13. Defining XHTML 13 • Stands for Extensible Hyper-Text Mark-Up Language. • Is a stricter version of HTML, thus aiming to replace HTML. • Is actually HTML defined as an XML (EXtensible Mark-Up Language) application. • Is a W3C (World Wide Web Consortium) Recommendation. • Now superseded by HTML5
  • 14. Differences between HTML & XHTML 14 • XHTML elements must be properly nested. • XHTML elements must always be closed. • XHTML elements must be in lowercase. These things are GOOD PRACTICE and you should follow these rules with HTML4.01
  • 15. Good Practice: Structure 15 • Structural Markup: • Sections with • Headings, Paragraphs & Lists • Headers – H1, H2, H3, … H6 • Paragraphs – P • Lists – UL, LI – OL, LI – DL, DT, DD • Linear Structure Heading1 Paragraph Heading2 Paragraph Heading3 Paragraph • List item • List item • List item Heading3 Paragraph
  • 16. Good Practice: Testing 16 • Test it in as many browsers as you can, on Mac and Linux as well as on Windows • Test your site on tablets • Test your site on smartphones
  • 17. Quick Exercise - Mobile Testing 17 • Try it on your own phone! https://www.google.co.uk/webm asters/tools/mobile-friendly/
  • 18. Quick Exercise - Multi browser Test 18 • Results • View your site in 3 browser versions, spot any differences?
  • 20. XHTML > HTML 5 20 Web Hypertext Application Technology Working Group (WHATWG) • June 2004: Opera and Mozilla set up the mailing list • HTML5 — Web Applications 1.0 & Web Forms 2.0 • October 2006: Reinventing HTML — Tim Berners-Lee • May 2007: W3C HTML Working Group • January 2008: HTML 5 – ?: Last Call Working Draft – 2012?: Candidate Recommendation – 2022?: Proposed Recommendation
  • 21. You don’t get rid of HTML4 standards – you just improve upon them! 21
  • 22. It’s easy for web developers to upgrade their websites to HTML 5 22 Step 1: change the doctype at the top of the page. OLD: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- strict.dtd"> NEW: <!DOCTYPE html>
  • 24. Why do Web Developers love HTML 5 ? 24 Better organization of page content and code <header> <nav> <main> <section> <article> <aside> <footer>
  • 25. HTML5 is a Collection of Features 25 • HTML5 is not an “all or nothing” capability. • The HTML5 features available to end users depend on what browser and what version of that browser they are using. •Users: How well does your browser support html5? Keep your browser updated so that as they add new feature support you will have access to these new features!
  • 26. Who will see your cool new HTML 5 features? 26 Changing the Doctype will not break your existing website People using OLDER browsers that don’t support the new HTML5 features will simply miss out on viewing the website the way others do.
  • 27. Validation 27 • Validation – validate at Strict HTML4 to get into good habits then convert to HTML5 • DOCTYPE – declare the DTD before <html> – <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> • Character Encoding – Latin Western • Good clean strict code = 90% accessible – Make sure your code validates correctly to HTML4 strict. Then turn it into HTML5 – Use of < /> self-closing tags for XHTML unnecessary
  • 28. Practical Exercise - Update your PoSD site 28 • Edit your home page • FTP the file <html><head> <title>My first webpage</title></head><body> <div id=“header”><h1>My first webpage</h1></div> <div id=“nav”><ul><li><a href=“#”>Item 1</a></li> <li>Item 2</li><li>Item 3</li></ul></div> <div id=“content”><h1>Lorem Ipsum Dolor</h1> <p>….lorem…</p> <p>….ipsum…</p> <p>….dolor…</p> </div> <div id=“footer”><p>Terms and Conditions</p></div> </body> </html>
  • 29. Practical Exercises - Validate 29 http://validator.w3.org/
  • 30. Practical Exercises – Speed Test 30 https://developers.google.com/speed/pagespeed /insights/