Week 2 - Web Flashcards
what does html stand for
hypertext markup language
what does html do
defines pages / documents of information
what does URI stand for
uniform resource indentifier
what is a uri
a reference for a page or other resource
what does http stand for
hypertext transfer protocol
what does http do
sends messages allowing transfer of resources across the internet
What do html tags do?
they describe the structure of the page
what elements does the hold
meta
title
style
what does the tag hold?
information about the document
- recommended charset attribute
tag for bold?
<b></b>
tag for italics?
<i></i>
tag for emphasis?
<em></em>
tag for stronger emphasis?
<strong></strong>
tag for an image?
<img></img>
what does url stand for?
uniform resource locator
what does url do?
identifies a resource
locates that resource within the network
what does urn stand for
uniform resource name
what is a urn?
a persistent, location-independent resource identifier
how is a urn made up?
a protocol, a service/server name and a local path for resource
What are the 3 HTTP methods?
Get
Head
Post
What is the GET method?
when client sends a request for a resource
what is the head method?
when client requests HTTP header information only
what is the post method?
when client sends arguments in URL to be processed by server
Features of GET?
- reload harmless
- can be bookmarked
- can be cached
- parameters remain in browser history
- only ASCII characters allowed
why is GET less secure than POST?
data is sent as part of the url.
- never use for strong passwords
- data is visible to everyone in URL
Features of POST?
- resubmitted on reload
- cant be bookmarked
- not cached
- parameters not saved in browser history
- no restrictions on data type
What does CSS stand for
Cascading style sheet
what does CSS do?
- allows separation of content from presentation
- allows different presentation for same content
What does a CSS rule consist of?
a selector and a declaration block