SlideShare a Scribd company logo
1 of 30
Principles of
Systems
Development
Week 2 – Tutorial
From HTML Tags to
XHTML
Richard Dron
Technical Innovation
Officer
219 Maxwell
t:@seniorenrico
e:r.m.dron@salford.ac.uk
Hi! I’m Richard …
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 … Internet and WWW
6
The
origins
of the
Web
Open Chrome or Firefox
at:
http://b.socrative.com
Enter room: ssmm
Agenda for this session
7
•HTML – what is it?
•HTML – History
•HTML – What version will I learn?
•Document Structure
•Markup Essentials
•Activities
Defining HTML
8
• Stands for Hyper-Text Markup Language.
• An HTML file is a text file that contains mark-up tags. These
tags specify the structure and appearance of web
documents.
• Interpreted by Web Browser Software (e.g. Firefox, Mozilla,
Opera, Internet Explorer) and displayed to the user.
• Enables the inclusion of pictures, animations or sounds.
• Possible to link documents on the web using Hyperlinks.
• Interoperable between browsers and operating systems.
Key points about HTML
9
• HTML is designed for the web - it is designed to
work anywhere on any machine, and to be easily
transportable over the internet.
• HTML is an open standard - it is not owned by
any company and there is no charge for using the
HTML standards for publishing.
• HTML incorporates hypertext - it is designed to
make adding clickable links easy for web authors
(this was central to its design).
• HTML supports multimedia - it contains support
for sound, images, video etc. (as well as text).
The history of HTML
10
• HTML 3.2 - W3C's first
Recommendation for HTML
which represented the
consensus on HTML features for
1996
– Contained lots of new things one
could do towards the design and
visual impact of web pages
– Dropped Maths formulas
– Based on Netscape
• Arguments about <blink> and
<marquee>
• HTML 2 – developed by the The Internet
Engineering Task Force's (IETF) “HTML Working
Group”. Closed in 1996 – now classed as
HISTORIC. (RFC2854)
http://www.ietf.org/
HTML 4
11
• First Published 1997,
then revised edition in
December 1999 – HTML
4.01
• HTML 4.01
(Transitional)
– Contains HTML 3 Visual
Formatting code
• HTML 4.01 (Strict)
– Contained no ‘deprecated’
Visual Formatting code
– Contained new
accessibility-friendly
elements and attributes
XHTML
12
• XHTML 1.0
– Similar to HTML 4.x but refined to operate with XML
• XHTML 1.1
– Formal recommendation April 2001 – end of
Transition
• XHTML 2.0
– Never
What version will I learn?
13
• Strict HTML 4.01 and XHTML both have very good syntax and code
discipline
• The tidiest code will follow the best of XHTML practice, omitting those
elements of it that can safely be dropped in the era of HTML5
• HTML5 can be loose enough to allow the most untidy, bloated, poor
coding – the sort of coding still out there on the web since 1996.
• Professional web developers take pride in tidy, efficient code
• Browsers render tidy, efficient code faster
You will learn what works best in 2016,
with an eye to what will work best in
the future…
Year 1 – HTML 4.01 (Strict), intro to HTML5
Tools
14
• Notepad
• W3C (http://www.w3.org/)
– online Validators
(http://validator.w3.org/)
– Document Type Declarations
(DTDs)
– Use HTML 4.01 (Strict) DTD
• Wayback Machine
(http://www.archive.org/web/web.php)
• Filezilla
Writing in HTML
15
• In any Text Editor (e.g. Notepad for Windows
users, TextWrangler for Mac users).
• HTML is not case sensitive.
• HTML documents must be saved with the
extension either *.html or *.htm.
Markup Vocabulary
16
• Opening & Closing
TAGs:
– < > ... </ >
– Some elements have self-
closing tags, e.g. <br>
• HTML Elements:
– BODY, P, TABLE, TR, TD,
H1, H2, H3, UL, LI etc.
• Attributes:
– href, accesskey, class, etc.
• Values:
– “page2.htm”, “2” etc.
It is also important to get the
order of the syntax of your code
correct – there are some basic
rules that will be explained.
Basic HTML document structure
17
• Web documents must comply to a basic
structure in order to be interpreted correctly
by browsers…
• First the page must declare that it is
(X)HTML – i.e. Doctype.
• The head section contains meta
information that categorises page content.
Search engines also use this info to list
pages.
• The body section specifies the content of
the page.
• [A separate CSS (Cascading Style Sheet)
file specifies the presentation of the page.]
HTML Contents
18
• HTML code - text
<html>
<head>
Title ... Meta Tags ...
</head>
<body>
Sections… Text ... Images ... Links
</body>
</html>
Structural Markup
19
<html lang=“en-gb”>
<head> ..Meta tags, scripts .. </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>
• Example in Note Pad
Markup Essentials (1/5)
20
Syntax:
<ELEMENT ATTRIBUTE=“VALUE”> text </ELEMENT>
Example:
<h1> Welcome to my homepage </h1>
<p>
I live in Manchester in a
<a href=“http://www.myhouse.co.uk/”> semi
detached house. </a>
</p>
Nesting : <p> <a> </a> </p> √
NOT : <p> <a> </p> </a> X
Markup Essentials (2/5)
21
• Block elements
<h1> ... </h1> From the biggest heading ...
│ │
<h6> ... </h6> To the smallest heading
<p> ... </p> Denotes a paragraph of text
• Inline elements
<em> ... </em> or <i> ... </i> for italics
<strong> ... </strong> or <b> ... </b> for
bold
• Empty elements
<div> ... </div> to create a section of a page - block
<span> ... </span> to apply to a word or two - inline
Markup Essentials (3/5)
22
• Lists – Block Elements
<ul> ... </ul> Unordered List
<ol> ... </ol> Ordered List
<li> ... </li> List Item
<dl>
<dt> Term </dt>
<dd> Data </dd> Definition List
</dl>
Example:
<dl>
<dt> Beverages </dt>
<dd> Coffee </dd>
<dd> Tea </dd>
</dl>
Markup Essentials (4/5)
23
<img src=“imagefilename.gif” /
alt=“Image Description”>
Used to insert an image. In
this example you’ll need to
place a copy of the image
into the same folder as your
web document.
Alternatively, you may
include an image on the web
using its URL.
Mark-Up Essentials (4/5)
24
<br/> - is a line break.
The line break tag of <br /> should only be used
to insert is single line breaks in the flow of
paragraph text to knock a particularly word down
onto a new line.
Essential in XHTML for Validation
Never supported by any browser – just ignored
Not used for HTML4 or 5
Creating Hyperlinks
25
• Anatomy of a link tag:
<a href=“another_page.html”> Go to Page 2 </a>
• A hyperlink is denoted by the <a href=“…”> … </a> tag.
href=“…” specifies the location of the document you wish to link to.
• Anything between the <a …> … </a> tags will be displayed
on-screen. In the above example, the linked document will be opened
when the user clicks ‘Go to Page 2’.
• Hyperlink tags may also refer to named anchors within a long html
page:
e.g. <a href=“#anchorname”> anchortext </a>
<a name=“anchorname”> related section </a>
Do I need to know all these HTML tags?
26
• It is very useful to be familiar with the basic
anatomy of an HTML document.
• In time you will know them all, and be able to type
code into a text editor.
• See http://www.w3.org/MarkUp/ for a
comprehensive guide to HTML tags.
• A very good site for an HTML tutorial (including
XHTML and XML) is available at:
http://www.w3schools.com/
Connecting to a server using FTP
27
Activity
28
• Visit -
http://www.w3schools.com/html/html_examples.asp
Have a look at the example pages
that show best practice in creating
your HTML documents.
Try this out before you go …
29
• https://eraseallkittens.com/
Thanks! 
If you have any questions now is
the time, or drop me an email
r.m.dron@salford.ac.uk

More Related Content

What's hot (13)

Drupal training-1-in-mumbai
Drupal training-1-in-mumbaiDrupal training-1-in-mumbai
Drupal training-1-in-mumbai
 
Html
HtmlHtml
Html
 
Building ECM applications using Managed Metadata in SharePoint 2013 - SharePo...
Building ECM applications using Managed Metadata in SharePoint 2013 - SharePo...Building ECM applications using Managed Metadata in SharePoint 2013 - SharePo...
Building ECM applications using Managed Metadata in SharePoint 2013 - SharePo...
 
Dhtml ppt (2)
Dhtml ppt (2)Dhtml ppt (2)
Dhtml ppt (2)
 
Html5
Html5Html5
Html5
 
Web development using html and wordpress
Web development using html and wordpressWeb development using html and wordpress
Web development using html and wordpress
 
Unit 2 dhtml
Unit 2 dhtmlUnit 2 dhtml
Unit 2 dhtml
 
HTML: Chapter 01
HTML: Chapter 01HTML: Chapter 01
HTML: Chapter 01
 
Dhtml chapter2
Dhtml chapter2Dhtml chapter2
Dhtml chapter2
 
DHTML
DHTMLDHTML
DHTML
 
presentation on static website design
presentation on static website designpresentation on static website design
presentation on static website design
 
Static dynamic and active web pages
Static dynamic and active web pagesStatic dynamic and active web pages
Static dynamic and active web pages
 
Html presentation
Html presentationHtml presentation
Html presentation
 

Viewers also liked

Viewers also liked (12)

World Youth Day 2013 Catechesis
World Youth Day 2013 CatechesisWorld Youth Day 2013 Catechesis
World Youth Day 2013 Catechesis
 
Janot recomenda que stf anule nomeação de lula para casa civil
Janot recomenda que stf anule nomeação de lula para casa civilJanot recomenda que stf anule nomeação de lula para casa civil
Janot recomenda que stf anule nomeação de lula para casa civil
 
E-book Receitas de Natal
E-book Receitas de NatalE-book Receitas de Natal
E-book Receitas de Natal
 
Tags de temperos
Tags de temperosTags de temperos
Tags de temperos
 
El origen de las cofradias o asociaciones de caridad
El origen de las cofradias o asociaciones de caridadEl origen de las cofradias o asociaciones de caridad
El origen de las cofradias o asociaciones de caridad
 
Les contributions du charisme vincentien : 1
Les contributions du charisme vincentien : 1Les contributions du charisme vincentien : 1
Les contributions du charisme vincentien : 1
 
10 Receitas de Docinhos para Vender
10 Receitas de Docinhos para Vender10 Receitas de Docinhos para Vender
10 Receitas de Docinhos para Vender
 
Vincentian Pioneers in America
Vincentian Pioneers in America Vincentian Pioneers in America
Vincentian Pioneers in America
 
Aportación del carisma vicenciano : 8
Aportación del carisma vicenciano : 8Aportación del carisma vicenciano : 8
Aportación del carisma vicenciano : 8
 
PS SESSION : EXAMINATION OF HIP
PS SESSION : EXAMINATION OF HIPPS SESSION : EXAMINATION OF HIP
PS SESSION : EXAMINATION OF HIP
 
Supercharge your Investments with Tax-Loss Harvesting
Supercharge your Investments with Tax-Loss HarvestingSupercharge your Investments with Tax-Loss Harvesting
Supercharge your Investments with Tax-Loss Harvesting
 
Supercharge your Investments with Tax-Loss Harvesting
Supercharge your Investments with Tax-Loss HarvestingSupercharge your Investments with Tax-Loss Harvesting
Supercharge your Investments with Tax-Loss Harvesting
 

Similar to 02 From HTML tags to XHTML

Introduction web tech
Introduction web techIntroduction web tech
Introduction web techLiaquat Rahoo
 
Web development using HTML and CSS
Web development using HTML and CSSWeb development using HTML and CSS
Web development using HTML and CSSSiddhantSingh980217
 
9781285852645_CH01 research and analysis of data.pptx
9781285852645_CH01 research and analysis of data.pptx9781285852645_CH01 research and analysis of data.pptx
9781285852645_CH01 research and analysis of data.pptxclement swarnappa
 
Introduction to web page
Introduction to web pageIntroduction to web page
Introduction to web pageMahmoud Shaqria
 
Fii Practic Frontend BeeNear - laborator 1
Fii Practic Frontend BeeNear - laborator 1Fii Practic Frontend BeeNear - laborator 1
Fii Practic Frontend BeeNear - laborator 1BeeNear
 
Science kjadnckj ljnadjc lk cnldj cj nlzkdncaj
Science kjadnckj ljnadjc lk cnldj cj nlzkdncajScience kjadnckj ljnadjc lk cnldj cj nlzkdncaj
Science kjadnckj ljnadjc lk cnldj cj nlzkdncajkefije9797
 
WD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhw
WD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhwWD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhw
WD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhwkefije9797
 
WT Module-1.pdf
WT Module-1.pdfWT Module-1.pdf
WT Module-1.pdfRamyaH11
 
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
 
Training report on web developing
Training report on web developingTraining report on web developing
Training report on web developingJawhar Ali
 
HTML Demo.ppt
HTML Demo.pptHTML Demo.ppt
HTML Demo.pptLimEchYrr
 
05 RD PoSD Tutorial_xhtml_to_html5_2016
05 RD PoSD Tutorial_xhtml_to_html5_201605 RD PoSD Tutorial_xhtml_to_html5_2016
05 RD PoSD Tutorial_xhtml_to_html5_2016Rich Dron
 
What Is the Use Of HTML.pptx
What Is the Use Of HTML.pptxWhat Is the Use Of HTML.pptx
What Is the Use Of HTML.pptxManviMulani
 

Similar to 02 From HTML tags to XHTML (20)

Introduction web tech
Introduction web techIntroduction web tech
Introduction web tech
 
Web development using HTML and CSS
Web development using HTML and CSSWeb development using HTML and CSS
Web development using HTML and CSS
 
WEB Module 1.pdf
WEB Module 1.pdfWEB Module 1.pdf
WEB Module 1.pdf
 
9781285852645_CH01 research and analysis of data.pptx
9781285852645_CH01 research and analysis of data.pptx9781285852645_CH01 research and analysis of data.pptx
9781285852645_CH01 research and analysis of data.pptx
 
Introduction to web page
Introduction to web pageIntroduction to web page
Introduction to web page
 
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
 
Science kjadnckj ljnadjc lk cnldj cj nlzkdncaj
Science kjadnckj ljnadjc lk cnldj cj nlzkdncajScience kjadnckj ljnadjc lk cnldj cj nlzkdncaj
Science kjadnckj ljnadjc lk cnldj cj nlzkdncaj
 
WD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhw
WD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhwWD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhw
WD 2 Less Gooooooooooofwfweujb iefieniwenfwefuhw
 
WT Module-1.pdf
WT Module-1.pdfWT Module-1.pdf
WT Module-1.pdf
 
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)
 
Web Design
Web DesignWeb Design
Web Design
 
Training report on web developing
Training report on web developingTraining report on web developing
Training report on web developing
 
Html5
Html5Html5
Html5
 
HTML Demo.ppt
HTML Demo.pptHTML Demo.ppt
HTML Demo.ppt
 
05 RD PoSD Tutorial_xhtml_to_html5_2016
05 RD PoSD Tutorial_xhtml_to_html5_201605 RD PoSD Tutorial_xhtml_to_html5_2016
05 RD PoSD Tutorial_xhtml_to_html5_2016
 
Iwt module 1
Iwt  module 1Iwt  module 1
Iwt module 1
 
Unit 01 (1).pdf
Unit 01 (1).pdfUnit 01 (1).pdf
Unit 01 (1).pdf
 
What Is the Use Of HTML.pptx
What Is the Use Of HTML.pptxWhat Is the Use Of HTML.pptx
What Is the Use Of HTML.pptx
 
html5 project.pptx
html5 project.pptxhtml5 project.pptx
html5 project.pptx
 

Recently uploaded

New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 

Recently uploaded (20)

New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 

02 From HTML tags to XHTML

  • 1. Principles of Systems Development Week 2 – Tutorial From HTML Tags to XHTML Richard Dron Technical Innovation Officer 219 Maxwell t:@seniorenrico e:r.m.dron@salford.ac.uk
  • 2. Hi! I’m Richard … 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 … Internet and WWW 6 The origins of the Web Open Chrome or Firefox at: http://b.socrative.com Enter room: ssmm
  • 7. Agenda for this session 7 •HTML – what is it? •HTML – History •HTML – What version will I learn? •Document Structure •Markup Essentials •Activities
  • 8. Defining HTML 8 • Stands for Hyper-Text Markup Language. • An HTML file is a text file that contains mark-up tags. These tags specify the structure and appearance of web documents. • Interpreted by Web Browser Software (e.g. Firefox, Mozilla, Opera, Internet Explorer) and displayed to the user. • Enables the inclusion of pictures, animations or sounds. • Possible to link documents on the web using Hyperlinks. • Interoperable between browsers and operating systems.
  • 9. Key points about HTML 9 • HTML is designed for the web - it is designed to work anywhere on any machine, and to be easily transportable over the internet. • HTML is an open standard - it is not owned by any company and there is no charge for using the HTML standards for publishing. • HTML incorporates hypertext - it is designed to make adding clickable links easy for web authors (this was central to its design). • HTML supports multimedia - it contains support for sound, images, video etc. (as well as text).
  • 10. The history of HTML 10 • HTML 3.2 - W3C's first Recommendation for HTML which represented the consensus on HTML features for 1996 – Contained lots of new things one could do towards the design and visual impact of web pages – Dropped Maths formulas – Based on Netscape • Arguments about <blink> and <marquee> • HTML 2 – developed by the The Internet Engineering Task Force's (IETF) “HTML Working Group”. Closed in 1996 – now classed as HISTORIC. (RFC2854) http://www.ietf.org/
  • 11. HTML 4 11 • First Published 1997, then revised edition in December 1999 – HTML 4.01 • HTML 4.01 (Transitional) – Contains HTML 3 Visual Formatting code • HTML 4.01 (Strict) – Contained no ‘deprecated’ Visual Formatting code – Contained new accessibility-friendly elements and attributes
  • 12. XHTML 12 • XHTML 1.0 – Similar to HTML 4.x but refined to operate with XML • XHTML 1.1 – Formal recommendation April 2001 – end of Transition • XHTML 2.0 – Never
  • 13. What version will I learn? 13 • Strict HTML 4.01 and XHTML both have very good syntax and code discipline • The tidiest code will follow the best of XHTML practice, omitting those elements of it that can safely be dropped in the era of HTML5 • HTML5 can be loose enough to allow the most untidy, bloated, poor coding – the sort of coding still out there on the web since 1996. • Professional web developers take pride in tidy, efficient code • Browsers render tidy, efficient code faster You will learn what works best in 2016, with an eye to what will work best in the future… Year 1 – HTML 4.01 (Strict), intro to HTML5
  • 14. Tools 14 • Notepad • W3C (http://www.w3.org/) – online Validators (http://validator.w3.org/) – Document Type Declarations (DTDs) – Use HTML 4.01 (Strict) DTD • Wayback Machine (http://www.archive.org/web/web.php) • Filezilla
  • 15. Writing in HTML 15 • In any Text Editor (e.g. Notepad for Windows users, TextWrangler for Mac users). • HTML is not case sensitive. • HTML documents must be saved with the extension either *.html or *.htm.
  • 16. Markup Vocabulary 16 • Opening & Closing TAGs: – < > ... </ > – Some elements have self- closing tags, e.g. <br> • HTML Elements: – BODY, P, TABLE, TR, TD, H1, H2, H3, UL, LI etc. • Attributes: – href, accesskey, class, etc. • Values: – “page2.htm”, “2” etc. It is also important to get the order of the syntax of your code correct – there are some basic rules that will be explained.
  • 17. Basic HTML document structure 17 • Web documents must comply to a basic structure in order to be interpreted correctly by browsers… • First the page must declare that it is (X)HTML – i.e. Doctype. • The head section contains meta information that categorises page content. Search engines also use this info to list pages. • The body section specifies the content of the page. • [A separate CSS (Cascading Style Sheet) file specifies the presentation of the page.]
  • 18. HTML Contents 18 • HTML code - text <html> <head> Title ... Meta Tags ... </head> <body> Sections… Text ... Images ... Links </body> </html>
  • 19. Structural Markup 19 <html lang=“en-gb”> <head> ..Meta tags, scripts .. </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> • Example in Note Pad
  • 20. Markup Essentials (1/5) 20 Syntax: <ELEMENT ATTRIBUTE=“VALUE”> text </ELEMENT> Example: <h1> Welcome to my homepage </h1> <p> I live in Manchester in a <a href=“http://www.myhouse.co.uk/”> semi detached house. </a> </p> Nesting : <p> <a> </a> </p> √ NOT : <p> <a> </p> </a> X
  • 21. Markup Essentials (2/5) 21 • Block elements <h1> ... </h1> From the biggest heading ... │ │ <h6> ... </h6> To the smallest heading <p> ... </p> Denotes a paragraph of text • Inline elements <em> ... </em> or <i> ... </i> for italics <strong> ... </strong> or <b> ... </b> for bold • Empty elements <div> ... </div> to create a section of a page - block <span> ... </span> to apply to a word or two - inline
  • 22. Markup Essentials (3/5) 22 • Lists – Block Elements <ul> ... </ul> Unordered List <ol> ... </ol> Ordered List <li> ... </li> List Item <dl> <dt> Term </dt> <dd> Data </dd> Definition List </dl> Example: <dl> <dt> Beverages </dt> <dd> Coffee </dd> <dd> Tea </dd> </dl>
  • 23. Markup Essentials (4/5) 23 <img src=“imagefilename.gif” / alt=“Image Description”> Used to insert an image. In this example you’ll need to place a copy of the image into the same folder as your web document. Alternatively, you may include an image on the web using its URL.
  • 24. Mark-Up Essentials (4/5) 24 <br/> - is a line break. The line break tag of <br /> should only be used to insert is single line breaks in the flow of paragraph text to knock a particularly word down onto a new line. Essential in XHTML for Validation Never supported by any browser – just ignored Not used for HTML4 or 5
  • 25. Creating Hyperlinks 25 • Anatomy of a link tag: <a href=“another_page.html”> Go to Page 2 </a> • A hyperlink is denoted by the <a href=“…”> … </a> tag. href=“…” specifies the location of the document you wish to link to. • Anything between the <a …> … </a> tags will be displayed on-screen. In the above example, the linked document will be opened when the user clicks ‘Go to Page 2’. • Hyperlink tags may also refer to named anchors within a long html page: e.g. <a href=“#anchorname”> anchortext </a> <a name=“anchorname”> related section </a>
  • 26. Do I need to know all these HTML tags? 26 • It is very useful to be familiar with the basic anatomy of an HTML document. • In time you will know them all, and be able to type code into a text editor. • See http://www.w3.org/MarkUp/ for a comprehensive guide to HTML tags. • A very good site for an HTML tutorial (including XHTML and XML) is available at: http://www.w3schools.com/
  • 27. Connecting to a server using FTP 27
  • 28. Activity 28 • Visit - http://www.w3schools.com/html/html_examples.asp Have a look at the example pages that show best practice in creating your HTML documents.
  • 29. Try this out before you go … 29 • https://eraseallkittens.com/
  • 30. Thanks!  If you have any questions now is the time, or drop me an email r.m.dron@salford.ac.uk

Editor's Notes

  1. We’re going to begin by getting you to experiment with a simple web document and get familiar with some of the HTML tags covered in these slides.
  2. HTML documents must comply to a basic structure in order to be interpreted correctly by browsers. Everything between the HTML start and end tags denotes a html document.
  3. Like a human, One head, one body.
  4. The ALT attribute is a required element on all images displayed on a web page. It helps users determine what the image is, should they be browsing on a screen reader, or simply on a slow connection. The ALT attribute should describe the image being shown, so an alt=”image” is bad practice. If the image is purely for decorative purposes, simply add an empty alt attribute, such as alt=””.