Lesson 1: Understanding How the Web Works Flashcards

(10 cards)

1
Q

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?

A

3
One for the web page itself, which includes the text and the HTML markup, and one for each of the two images

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How many requests to the server would a browser make to display a web page with some text nd two images on it?

A

3 requests

1 for the HTML and 1 for each of the two images

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are some of the features to look for in a web hosting provider?

A

Reliability, customer service, web space and bandwidth, domain name service, site-management extras and price

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How many browsers should you use to test your web pages?

A

As many as possible (browsers on both mobile & desktops)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What type of editor should you use to create web pages?

A

A text editor like NotePad

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What 3 pieces of information do you need in order to connect to your web server via FTP?

A

Hostname, account username and account password

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the document root?

A

The top-level directory on a web server - the trailing slash after the domain name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Is it possible to publish web pages to a USB drive?

A

Yes. This is called publishing content locally

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the purpose of the index.html file?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Does your website have to include a directory structure?

A

No

But!! It simplifies content maintenance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly