)Web Development (Web, HTML, CSS) Flashcards

1
Q

WWW stands for

A

world wide web

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

WWW is a

A

system of interlinked hypertext documents accessed via internet

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

how do users access web pages

A

using web browsers

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

4 key history facts of WWW

A

1970s early use of internet but government and unis
1989 tim lee invented WWW
1990 first web server and broswer
1993 HTML introduced

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

internet

A

global network of interconnected computers and servers that communicate with each other using standardized protocols
encompass all hardware and software
underlying infrastructure

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

steps when visiting a website

A

1) user action
user requests a webpage by typing in URL in address bar, clicking form etc
2) DNS lookup
browser uses DNS to find IP address of server and make connection
3) HTTP request
browser sends an HTTP request to web server at that IP address to request HTML document
4)HTTP response
server processes request and sends back an HTTP response which includes requested HTML document
5) HTML parser
browser uses HTML parser to read the HTML document

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

client server model

A

client sends request to server
server responds with data
servers can respond to multiple clients

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

web uses ____ to access ____ and ___

A

internet
serves and clients

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

internet is the __ vs web __

A

underlying infrastructure
uses internet to access servers and clients

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

URL

A

specifies domain (web server) and file path(requested path)

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

absolute URL

A

links to different domains

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

relative URL

A

links to the same domain

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

how do users request a webpage

A

by typing in URL in address bar

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

HTTP

A

hypertext transfer protocol
request response protocol where client requests data from server

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

HTTP request and components

A

browser sends HTTP request to server @IP address asking for HTML document
protocol (http/https)
domain name
port #
filepath

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

what does server send when browser sends HTTP request

A

status code

17
Q

web browser

A

browser fetches HTML, CSS, JS then renders them into a single page

18
Q

what happens when you go to visit a website?

A

1) user action
2) DNS lookup: browser contacts DNS server to translate domain name into IP address
3) browser makes a TCP/IP connection with that IP address
4) browser sends HTTP request over this connection
5) server searches for requested resource
6) HTTP response is sent with HTML document if found
7) HTML parser is used to read HTML document

19
Q

client side

A

operations or processing that occur on the user’s device (the client) rather than on a central server

20
Q

HTML

A

hypertext markup language
declarative language
structured text designed for hypertext web pages

21
Q

DOM

A

document object model
tree structure representing HTML pages
describes logical structure of a webpage
represents doc at tree structure

22
Q

accessibility and HTML

A

write HTML with accessibility in mind and ensure content is accessible to all users
- inclusive design
- legal requirements
- increased performance in SE

23
Q

3 ways to make ur HTML more accessible

A

alternative text <img=”” alt=”image of penguin” >
support for screen readers and test with voiceover
ARIA (accessible rich internet applications) landmarks define regions of a webpage to increase navigation for assisted technology

24
Q

DOC Flow 2 types

A

block (top to bottom and expand full width)
inline (left to right, width fits content)

25
Q

layouts 2 types

26
Q

static positioning

27
Q

relative positioning

A

retains its space in the doc flow

28
Q

absolute positioning

A

relative to nearest parent

29
Q

parent and child for positioning

A

relative for parent
absolute for child

30
Q

fixed positioning

A

relative to viewpoint (doesn’t move when scroll)

31
Q

best practice

A

modular CSS with block element modifier and performance considerations (could remove spacing

32
Q

Code that runs in the browser ___ and what does it let you do

A

JS and lets you do things like filters to change the page view without reloading by accessing the DO