SlideShare a Scribd company logo
The Web Environment
                           Web Page Design




Friday, 30 September 11
Overview

                    • Internet and the web
                    • Network details
                    • Evolution of the web
                    • Web technologies
                    • Web standards

Friday, 30 September 11
The Internet
                    • A massive number of computers connected
                          together through a global network
                    • Carries a range of data:
                      • Email
                      • Web
                      • File transfer
                    • Audio video data
Friday, 30 September 11
The Web

                    • A global collection of hyperlinked pages
                          connected via the internet
                    • Web pages are stored on a server
                    • The user views web pages on a client


Friday, 30 September 11
Internet addressing
                (IPv4)
                    •     logical not physical
                    •     32-bit binary number
                    •     written as 4 decimal numbers separated by dots
                          •   e.g. 146.87.119.37
                          •   146.87 is University of Salford
                          •   119 is one network at Salford
                          •   37 is a computer on that network


Friday, 30 September 11
Internet addressing
                (IPv6)
                    • We have now run out of IP addresses
                     • IPv4 only has about 4.3 billion addresses
                    • Addresses consist of 8 groups of 4
                          hexadecimal digits (with : as separator)
                          •   2001:0db8:85a3:0000:0000:8a2e:0370:7334




Friday, 30 September 11
Domain names
                    • Easier for people to remember names than
                          numbers
                    • www.salford.ac.uk
                    • www.rickogden.com
                    • Domain name service (DNS) converts
                          name to numerical IP address


Friday, 30 September 11
Uniform Resource
                Locator
                    • Specifies how and where to find an internet
                          resource
                    • Three parts: protocol, address, selector
                    • Example: http://www.rickogden.com/
                          tutorials/960gs



Friday, 30 September 11
Protocol
                    • Specifies the protocol used to communicate
                          with server
                    • Example protocols:
                      • HTTP - the protocol of the Web
                      • FTP - access an FTP server
                      • Mailto - send an email message
                    • http://
Friday, 30 September 11
Resource address


                    • IP address or domain name
                    • http://www.rickogden.com


Friday, 30 September 11
Resource details


                    • Selector string e.g. Path to a particular
                          folder/file on web site
                    • http://www.rickogden.com/tutorials/960gs


Friday, 30 September 11
Index page
                    • If no filename specified, server
                          automatically serves (by default) the file
                          called index.html
                    • Home page of website should be called
                          index.html
                    • Do not use other variations e.g.
                          Homepage.html, assignment.html


Friday, 30 September 11
URL format
                    •     Applies to folder and filenames as well as URL
                    •     Only use lowercase letters:
                          •   index.html NOT Index.html
                    •     Do not use spaces
                          •   my_contacts.html NOT my contacts.html
                    •     Use meaningful names
                          •   gigs.html NOT page1.html


Friday, 30 September 11
Client server model
                                   The client requests a web
                                     page from the server


                          Client                               Server

                                   Server generates a stream
                                    of HTML/CSS to client




Friday, 30 September 11
Static web pages
                    • All users always get the same information
                          from a page
                    • No user interaction
                    • Limited functionality
                    • Completed web page is stored on server
                    • HTML / CSS
                    • Starting point for web page design
Friday, 30 September 11
Dynamic web pages
                    • Page may be different depending on user
                          and time of request
                    • Extended functionality
                    • Web page is generated on demand
                    • HTML / CSS plus server side programming
                          e.g. php, ASP.NET, Python, Ruby plus client
                          side programming e.g. JavaScript


Friday, 30 September 11
Web standards
                    • Allow all browsers to display all web pages
                    • Allow web pages to be accessible to
                          everyone
                    • W3C (World Wide Web Consortium)
                          creates recommendations that are de facto
                          standards
                    • Other standard organisations exist
Friday, 30 September 11
Web standards for this
                module
                    •     Structural layer (HTML 5)
                          •   defines the structure of a document, e.g. Headings,
                              paragraphs, lists, sections etc.
                          •   Evolved from HTML 4.01 and XHTML 1.1
                    •     Presentation layer (CSS Level 3)
                          •   defines rules for the presentation of the elements
                              that make up a page
                          •   controls fonts, colour, margins, position on the page
                              or screen, etc.


Friday, 30 September 11
Two key concepts


                    • Separation of structure/content from
                          presentation
                    • Use CSS for layout NOT tables


Friday, 30 September 11
Standards-based design
                    •     Separate presentation from structure
                          •   don't select an element based on how it looks in a
                              browser
                          •   don't use deprecated elements and attributes
                          •   don't use tables for layout
                    •     Use DOCTYPE declarations
                          •   enables DOCTYPE switching
                          •   facilitates validation
                    •     Validate both HTML and CSS rules



Friday, 30 September 11
Client variation -
                browsers
                                 Firefox                              42.2%
                                Chrome                                27.9%
                           Internet Explorer                          23.2%
                                  Safari                              3.7%
                                  Opera                               2.4%

          Figures show visitors to w3schools.com website in June 2011 by browser




Friday, 30 September 11
Client variation -
                browsers
                                Chrome                               43.62%
                                 Firefox                             40.72%
                           Internet Explorer                          6.96%
                                  Safari                              3.33%
                                 Opera                                2.9%

          Figures show visitors to rickogden.com website in June 2011 by browser




Friday, 30 September 11
Client variation -
                display
                               1280x1024                               14.8%
                                1280x800                               14.4%
                                1024x768                              10.43%
                                1366x768                               10.1%
                                1440x900                               9.9%

         Figures show visitors to w3schools.com website in January 2011 by display




Friday, 30 September 11
Client variation -
                display
                                1680x1050                               24.35%
                                 1280x800                               13.77%
                                1280x1024                               11.59%
                                 1366x768                               10.43%
                                1920x1080                               9.57%

            Figures show visitors to rickogden.com website in June 2011 by display




Friday, 30 September 11
Client variation - OS
                                 Windows                                85.1%
                                 Macintosh                               8.1%
                                    Linux                                5.2%
                                     iOS                                0.54%
                                  Android                               0.21%

            Figures show visitors to w3schools.com website in June 2011 by display




Friday, 30 September 11
Client variation - OS
                                 Windows                                54.93%
                                    Linux                               29.71%
                                 Macintosh                              13.19%
                                     iOS                                0.58%
                                  Android                               0.43%

            Figures show visitors to rickogden.com website in June 2011 by display




Friday, 30 September 11
The challenge

                    • To make a web site operate satisfactorily
                          for every user, regardless of browser/
                          display/operating system combination
                    • Use standards compliant design to achieve
                          this




Friday, 30 September 11
Design for compatibility
                    • Page need not look the same in all browsers
                      • graded browser support
                      • ensure content is accessible and usable
                    • Follow Web standards for content markup
                    • Follow accessibility guidelines
                    • Follow standards for CSS Rules
Friday, 30 September 11
The design process
                    • design for good standard-compliant
                          browser: Firefox
                    • test in other standard-compliant browsers
                     • fix problems
                    • test in older browsers
                     • work around problems by splitting up
                            stylesheet


Friday, 30 September 11

More Related Content

Similar to 1 the web environment

www | HTTP | HTML - Tutorial
www | HTTP | HTML - Tutorialwww | HTTP | HTML - Tutorial
www | HTTP | HTML - Tutorial
MSA Technosoft
 
world wide web
world wide webworld wide web
Managing storage on Prem and in Cloud
Managing storage on Prem and in CloudManaging storage on Prem and in Cloud
Managing storage on Prem and in Cloud
Howard Marks
 
ARTDM 171, Week 2: A Brief History + Web Basics
ARTDM 171, Week 2: A Brief History + Web BasicsARTDM 171, Week 2: A Brief History + Web Basics
ARTDM 171, Week 2: A Brief History + Web Basics
Gilbert Guerrero
 
Sharing information with MediaWiki
Sharing information with MediaWikiSharing information with MediaWiki
Sharing information with MediaWiki
Geert Van Pamel
 
Web
WebWeb
Porting ASP.NET applications to Windows Azure
Porting ASP.NET applications to Windows AzurePorting ASP.NET applications to Windows Azure
Porting ASP.NET applications to Windows Azure
Gunnar Peipman
 
10. ROS (1).pptx
10. ROS (1).pptx10. ROS (1).pptx
10. ROS (1).pptx
NDTTechnicaluniversi
 
An introduction to GWT and Ext GWT
An introduction to GWT and Ext GWTAn introduction to GWT and Ext GWT
An introduction to GWT and Ext GWT
Darrell Meyer
 
Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!
Brian Culver
 
Intro to SharePoint 2013 Branding
Intro to SharePoint 2013 BrandingIntro to SharePoint 2013 Branding
Intro to SharePoint 2013 Branding
Thomas Daly
 
dmBridge & dmMonocle
dmBridge & dmMonocledmBridge & dmMonocle
dmBridge & dmMonocle
University of Nevada, Las Vegas
 
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
Richard Esplin
 
Share point 2013 enterprise search (public)
Share point 2013 enterprise search (public)Share point 2013 enterprise search (public)
Share point 2013 enterprise search (public)
Petter Skodvin-Hvammen
 
StoryCode Tech Immersion 1
StoryCode Tech Immersion 1StoryCode Tech Immersion 1
StoryCode Tech Immersion 1
storycode
 
IWMW 1998: Deploying new web technologies
IWMW 1998: Deploying new web technologiesIWMW 1998: Deploying new web technologies
IWMW 1998: Deploying new web technologies
IWMW
 
It takes a Village: Implementing a Homegrown Solution for Streaming Video Res...
It takes a Village: Implementing a Homegrown Solution for Streaming Video Res...It takes a Village: Implementing a Homegrown Solution for Streaming Video Res...
It takes a Village: Implementing a Homegrown Solution for Streaming Video Res...
mharpasu
 
Scalability andefficiencypres
Scalability andefficiencypresScalability andefficiencypres
Scalability andefficiencypres
NekoGato
 
Web Terms Handout
Web Terms HandoutWeb Terms Handout
Web Terms Handout
needcollegehelp.com
 
CNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application TechnologiesCNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application Technologies
Sam Bowne
 

Similar to 1 the web environment (20)

www | HTTP | HTML - Tutorial
www | HTTP | HTML - Tutorialwww | HTTP | HTML - Tutorial
www | HTTP | HTML - Tutorial
 
world wide web
world wide webworld wide web
world wide web
 
Managing storage on Prem and in Cloud
Managing storage on Prem and in CloudManaging storage on Prem and in Cloud
Managing storage on Prem and in Cloud
 
ARTDM 171, Week 2: A Brief History + Web Basics
ARTDM 171, Week 2: A Brief History + Web BasicsARTDM 171, Week 2: A Brief History + Web Basics
ARTDM 171, Week 2: A Brief History + Web Basics
 
Sharing information with MediaWiki
Sharing information with MediaWikiSharing information with MediaWiki
Sharing information with MediaWiki
 
Web
WebWeb
Web
 
Porting ASP.NET applications to Windows Azure
Porting ASP.NET applications to Windows AzurePorting ASP.NET applications to Windows Azure
Porting ASP.NET applications to Windows Azure
 
10. ROS (1).pptx
10. ROS (1).pptx10. ROS (1).pptx
10. ROS (1).pptx
 
An introduction to GWT and Ext GWT
An introduction to GWT and Ext GWTAn introduction to GWT and Ext GWT
An introduction to GWT and Ext GWT
 
Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!Boost the Performance of SharePoint Today!
Boost the Performance of SharePoint Today!
 
Intro to SharePoint 2013 Branding
Intro to SharePoint 2013 BrandingIntro to SharePoint 2013 Branding
Intro to SharePoint 2013 Branding
 
dmBridge & dmMonocle
dmBridge & dmMonocledmBridge & dmMonocle
dmBridge & dmMonocle
 
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
Alfresco Tech Talk Live (Episode 70): Customizing Alfresco Share 4.2
 
Share point 2013 enterprise search (public)
Share point 2013 enterprise search (public)Share point 2013 enterprise search (public)
Share point 2013 enterprise search (public)
 
StoryCode Tech Immersion 1
StoryCode Tech Immersion 1StoryCode Tech Immersion 1
StoryCode Tech Immersion 1
 
IWMW 1998: Deploying new web technologies
IWMW 1998: Deploying new web technologiesIWMW 1998: Deploying new web technologies
IWMW 1998: Deploying new web technologies
 
It takes a Village: Implementing a Homegrown Solution for Streaming Video Res...
It takes a Village: Implementing a Homegrown Solution for Streaming Video Res...It takes a Village: Implementing a Homegrown Solution for Streaming Video Res...
It takes a Village: Implementing a Homegrown Solution for Streaming Video Res...
 
Scalability andefficiencypres
Scalability andefficiencypresScalability andefficiencypres
Scalability andefficiencypres
 
Web Terms Handout
Web Terms HandoutWeb Terms Handout
Web Terms Handout
 
CNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application TechnologiesCNIT 129S - Ch 3: Web Application Technologies
CNIT 129S - Ch 3: Web Application Technologies
 

Recently uploaded

The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
BoudhayanBhattachari
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdfIGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
Amin Marwan
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
Nguyen Thanh Tu Collection
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
Himanshu Rai
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
imrankhan141184
 

Recently uploaded (20)

The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdfIGCSE Biology Chapter 14- Reproduction in Plants.pdf
IGCSE Biology Chapter 14- Reproduction in Plants.pdf
 
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
BÀI TẬP DẠY THÊM TIẾNG ANH LỚP 7 CẢ NĂM FRIENDS PLUS SÁCH CHÂN TRỜI SÁNG TẠO ...
 
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem studentsRHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
RHEOLOGY Physical pharmaceutics-II notes for B.pharm 4th sem students
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
Traditional Musical Instruments of Arunachal Pradesh and Uttar Pradesh - RAYH...
 

1 the web environment

  • 1. The Web Environment Web Page Design Friday, 30 September 11
  • 2. Overview • Internet and the web • Network details • Evolution of the web • Web technologies • Web standards Friday, 30 September 11
  • 3. The Internet • A massive number of computers connected together through a global network • Carries a range of data: • Email • Web • File transfer • Audio video data Friday, 30 September 11
  • 4. The Web • A global collection of hyperlinked pages connected via the internet • Web pages are stored on a server • The user views web pages on a client Friday, 30 September 11
  • 5. Internet addressing (IPv4) • logical not physical • 32-bit binary number • written as 4 decimal numbers separated by dots • e.g. 146.87.119.37 • 146.87 is University of Salford • 119 is one network at Salford • 37 is a computer on that network Friday, 30 September 11
  • 6. Internet addressing (IPv6) • We have now run out of IP addresses • IPv4 only has about 4.3 billion addresses • Addresses consist of 8 groups of 4 hexadecimal digits (with : as separator) • 2001:0db8:85a3:0000:0000:8a2e:0370:7334 Friday, 30 September 11
  • 7. Domain names • Easier for people to remember names than numbers • www.salford.ac.uk • www.rickogden.com • Domain name service (DNS) converts name to numerical IP address Friday, 30 September 11
  • 8. Uniform Resource Locator • Specifies how and where to find an internet resource • Three parts: protocol, address, selector • Example: http://www.rickogden.com/ tutorials/960gs Friday, 30 September 11
  • 9. Protocol • Specifies the protocol used to communicate with server • Example protocols: • HTTP - the protocol of the Web • FTP - access an FTP server • Mailto - send an email message • http:// Friday, 30 September 11
  • 10. Resource address • IP address or domain name • http://www.rickogden.com Friday, 30 September 11
  • 11. Resource details • Selector string e.g. Path to a particular folder/file on web site • http://www.rickogden.com/tutorials/960gs Friday, 30 September 11
  • 12. Index page • If no filename specified, server automatically serves (by default) the file called index.html • Home page of website should be called index.html • Do not use other variations e.g. Homepage.html, assignment.html Friday, 30 September 11
  • 13. URL format • Applies to folder and filenames as well as URL • Only use lowercase letters: • index.html NOT Index.html • Do not use spaces • my_contacts.html NOT my contacts.html • Use meaningful names • gigs.html NOT page1.html Friday, 30 September 11
  • 14. Client server model The client requests a web page from the server Client Server Server generates a stream of HTML/CSS to client Friday, 30 September 11
  • 15. Static web pages • All users always get the same information from a page • No user interaction • Limited functionality • Completed web page is stored on server • HTML / CSS • Starting point for web page design Friday, 30 September 11
  • 16. Dynamic web pages • Page may be different depending on user and time of request • Extended functionality • Web page is generated on demand • HTML / CSS plus server side programming e.g. php, ASP.NET, Python, Ruby plus client side programming e.g. JavaScript Friday, 30 September 11
  • 17. Web standards • Allow all browsers to display all web pages • Allow web pages to be accessible to everyone • W3C (World Wide Web Consortium) creates recommendations that are de facto standards • Other standard organisations exist Friday, 30 September 11
  • 18. Web standards for this module • Structural layer (HTML 5) • defines the structure of a document, e.g. Headings, paragraphs, lists, sections etc. • Evolved from HTML 4.01 and XHTML 1.1 • Presentation layer (CSS Level 3) • defines rules for the presentation of the elements that make up a page • controls fonts, colour, margins, position on the page or screen, etc. Friday, 30 September 11
  • 19. Two key concepts • Separation of structure/content from presentation • Use CSS for layout NOT tables Friday, 30 September 11
  • 20. Standards-based design • Separate presentation from structure • don't select an element based on how it looks in a browser • don't use deprecated elements and attributes • don't use tables for layout • Use DOCTYPE declarations • enables DOCTYPE switching • facilitates validation • Validate both HTML and CSS rules Friday, 30 September 11
  • 21. Client variation - browsers Firefox 42.2% Chrome 27.9% Internet Explorer 23.2% Safari 3.7% Opera 2.4% Figures show visitors to w3schools.com website in June 2011 by browser Friday, 30 September 11
  • 22. Client variation - browsers Chrome 43.62% Firefox 40.72% Internet Explorer 6.96% Safari 3.33% Opera 2.9% Figures show visitors to rickogden.com website in June 2011 by browser Friday, 30 September 11
  • 23. Client variation - display 1280x1024 14.8% 1280x800 14.4% 1024x768 10.43% 1366x768 10.1% 1440x900 9.9% Figures show visitors to w3schools.com website in January 2011 by display Friday, 30 September 11
  • 24. Client variation - display 1680x1050 24.35% 1280x800 13.77% 1280x1024 11.59% 1366x768 10.43% 1920x1080 9.57% Figures show visitors to rickogden.com website in June 2011 by display Friday, 30 September 11
  • 25. Client variation - OS Windows 85.1% Macintosh 8.1% Linux 5.2% iOS 0.54% Android 0.21% Figures show visitors to w3schools.com website in June 2011 by display Friday, 30 September 11
  • 26. Client variation - OS Windows 54.93% Linux 29.71% Macintosh 13.19% iOS 0.58% Android 0.43% Figures show visitors to rickogden.com website in June 2011 by display Friday, 30 September 11
  • 27. The challenge • To make a web site operate satisfactorily for every user, regardless of browser/ display/operating system combination • Use standards compliant design to achieve this Friday, 30 September 11
  • 28. Design for compatibility • Page need not look the same in all browsers • graded browser support • ensure content is accessible and usable • Follow Web standards for content markup • Follow accessibility guidelines • Follow standards for CSS Rules Friday, 30 September 11
  • 29. The design process • design for good standard-compliant browser: Firefox • test in other standard-compliant browsers • fix problems • test in older browsers • work around problems by splitting up stylesheet Friday, 30 September 11