Lesson 1: Understanding How the Web Works Flashcards
(10 cards)
How many files would you need to store on a web server to produce a single web page with some text and two images on it?
3
One for the web page itself, which includes the text and the HTML markup, and one for each of the two images
How many requests to the server would a browser make to display a web page with some text nd two images on it?
3 requests
1 for the HTML and 1 for each of the two images
What are some of the features to look for in a web hosting provider?
Reliability, customer service, web space and bandwidth, domain name service, site-management extras and price
How many browsers should you use to test your web pages?
As many as possible (browsers on both mobile & desktops)
What type of editor should you use to create web pages?
A text editor like NotePad
What 3 pieces of information do you need in order to connect to your web server via FTP?
Hostname, account username and account password
What is the document root?
The top-level directory on a web server - the trailing slash after the domain name
Is it possible to publish web pages to a USB drive?
Yes. This is called publishing content locally
What is the purpose of the index.html file?
The default file for a directory in a web server. It enables users to access HTTP://www.yourdomain.com/somedirectory without using a trailing filename and still end up in the appropriate place
Does your website have to include a directory structure?
No
But!! It simplifies content maintenance