Lecture 4 Flashcards

1
Q

What does the DOM define?

A

HTML Elements as Objects

Properties of all HTML Elements

Methods to access HTML elements

Events for all elements

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

What is a uniform resource locator?

A

A string which identifies a resource on the itnernet

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

What are the components of a URL?

A

Protocol (scheme)

://

host (name or IP)

Port number (optional)

Path of the requested resource

“Scheme says how to connect, host says where to connect, path says what to access”

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