protocol relative URLs

Slides:



Advertisements
Similar presentations
CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 2: Developing a Web Site.
Advertisements

Browser Toolbars You Shouldn’t Do Without How the WAT and WDT Can Help You Design Accessible Websites.
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Given Connections Solution
HTTP Performance Objective: In this problem, we consider the performance of HTTP, comparing non-persistent HTTP with persistent HTTP. Suppose the page.
Unit 4.4 We are HTML Editors
Server-side Scripting Powering the webs favourite services.
Should have seen something like this last week What does do? stands for table row and starts a new row in the table.
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 4: Creating Hyperlinks Kelly L.
Chapter 6 pp Announcements O Project 1 coming up (details on Monday) O Lab 2 deliverable (submit on Blackboard) O Lab 3 pre-lab quiz is up.
Chapter 1: The Internet and the WWW CIS 275—Web Application Development for Business I.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
INFO 1300: LOCAL DEVELOPMENT 10/16/2015. Index.html Important Homepage for every project in this course Points will be deducted otherwise.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
XHTML1 Images N100 Building a Simple Web Page. XHTML2 The Element The src attribute specifies the filename of an image file To include the src attribute.
Using the Internet. (WWW) and the Internet The World Wide Web (WWW) is a small part of the Internet. The Internet relates to all the hardware and software.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
The Internet Using the Internet Web addresses Searching Favourites Saving / Printing web pages.
Agenda Session 3 (8/2/06). From Last Week  Review of homework  Word Doc comparison  Frame viewing (see  More on 508/WCAG.
Chapter 4 Applets Cop Why Applets? WWW makes huge information available to anyone with web browser. Web server send web pages and images to your.
Digital Literacy Concepts and basic vocabulary. Digital Literacy Knowledge, skills, and behaviors used in digital devices (computers, tablets, smartphones)
HTML IMAGES. CONTENTS IMG Tag Alt Attribute Setting Width and Height Of An Image Summary Exercise.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
Introduction to the World Wide Web & Internet CIS 101.
The “Quick Change” Method of Web Design. Create Your Design Create and cut up the graphics for your web site. Create a masterstyle sheet. Name it “plainmasterstylesheet.html.
Internet  ’60 = an invention of the US army  Universities and libraries also start to use this communication tool  Protocol + physical network=> backbone.
How Web Servers and The Internet Work The Basic Process.
URLs & Web Protocols 18 URLs & Web Protocols 18. URLs & Web Protocols 18 A URL is a web address Uniform Resource Locator You say it like ‘earl’ A resource.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 2 Creating Links.
Web Page Design The Basics. The Web Page A document (file) created using the HTML scripting language. A document (file) created using the HTML scripting.
CCS Information and Support Center Introduction. What is the information center for? Not only does our web-based.
The Internet Day 4, 9/8/11 Getting on the Internet
4.01 How Web Pages Work.
Cascading Style Sheets
Web Basics: HTML/CSS/JavaScript What are they?
3.02H Publishing a Website 3.02 Develop webpages..
Section 6.3 Server-side Scripting
CISC103 Web Development Basics: Web site:
Lesson 4: Web Browsing.
Cascading Style Sheets
Web Languages What Is a Web Page?
DW Tutorial 5 Sessions 5.1 & 5.2 REVIEW
Uniform Resource Locators (URLs)
CASE STUDY -HTML,URLs,HTTP
Introducing the World Wide Web
Some Common Terms The Internet is a network of computers spanning the globe. It is also called the World Wide Web. World Wide Web It is a collection of.
Due: a start of class Oct 26
Spring 2009 Kevin Cole Gallaudet University
AN INTRODUCTORY LESSON TO MAKING A SIMPLE WEB PAGE By: RC Emily Solis
Relative Paths.
Arden University FTP Induction Resource
Web Languages What Is a Web Page?
CISC103 Web Development Basics: Web site:
How files are organized
Uniform Resource Locators (URLs)
Uniform Resource Locators (URLs)
Lesson 4 – Introduction to CSS
4.02 Develop web pages using various layouts and technologies.
Lesson 4: Web Browsing.
Internet Technologies I - Lect.01 - Waleed Ibrahim Osman
Pertemuan 1b
jQuery Widgets: Tabs Requires core jQuery library + jQuery UI
Chapter 6 pp
Unit-3.
Cascading Style Sheets
4.01 How Web Pages Work.
Client-Server Model: Requesting a Web Page
Creating your website and learning HTML
One Set of Styles Connected to As Many Pages as You Want!!!
Presentation transcript:

protocol relative URLs “Internet explorer does not like mixers”

The problem CSS, Images and Styleheets called via fully qualified URL <link type=“text/css” href=“http:// @import url(‘http:// background-image { url(‘http:// <img src=“http:// <script src=“http:// If page is loaded via https:// connection then the page will contain mixed content, i.e. the page will be encrypted but the content above will be unencrypted So what you may ask!

The solution Drop the http: <link type=“text/css” href=“// background-image { url(‘// <img src=“// <script src=“// Example: https://www.sandbox.unimelb.edu.au/schrelurl-test/index2.html https://www.sandbox.unimelb.edu.au/schrelurl-test/

Details Caveats Read more Remember any assets (stylesheets, images etc) being called must available via both http and https There is a small bug with IE7 & IE8: When used with <link> and @import the requested css file will be downloaded twice Read more http://paulirish.com/2010/the-protocol-relative-url/ http://blog.httpwatch.com/2010/02/10/using-protocol-relative-urls-to-switch-between-http-and-https/