W1. The Web Model Flashcards

1
Q

What were the three main components of Tim Berners Lee’s model of the World Wide Web?

A
  1. HTML - define pages/documents of info
  2. URI - Uniform Resource Identifier (reference/name for a page/resource)
  3. HTTP - messages allowing transfer of resources across the internet
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does HTML stand for?

A

Hyper-Text Markup Language

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

What is HTML for?

A

Defining structure of web-pages

Uses tags to enclose static information

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

What is a browser’s purpose?

A
  • a browser is a user interface engine

- renders HTML files to produce web pages

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

What tags are required for any HTML page?

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

What is a URI?

A

Uniform Resource Identifier

- identifies a resource

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

What is a URL?

A

Uniform Resource Locator

  • identifies a resource
  • locates that resource within network
  • subset of URI
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a URN?

A

Uniform Resource Name

  • persistent, location-independent resource identifier
  • subset of URI
  • name with no location information
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does HTTP stand for?

A

Hyper Text Transfer Protocol

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

Properties and uses of HTTP

A
  • stateless, application-level protocol
  • text-based protocol
  • protocol for transfer of resources
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the 3 common HTTP methods invoked by client on server?

A

GET - client sends a request for a resource
HEAD - client requests http header info only
POST - client sends arguments in URL to be processed by server (e.g. form data)

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

What does CSS stand for?

A

Cascading Style Sheets

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

What is CSS used for?

A

CSS is used to describe presentation on web page

  • separation of content from style
  • layout, size, color etc for tags: relationships & selectors
  • support for media and graphics
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What format does CSS have?

A

selector { property : value ; }

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

How do you group multiple selectors in CSS?

A

Comma-separated list

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

How do you specify an element by class in CSS?

A

.classname

17
Q

How do you specify an element by its ID in CSS?

A

idname

18
Q

How would you specify the pseudo class for hover for a selector A in CSS?

A

A : hover