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
2
Q
What is a uniform resource locator?
A
A string which identifies a resource on the itnernet
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”