7

World Wide Web Hyperlinks Servers/Clients Browsers HTML (HyperText Markup Language)

Embed Size (px)

Citation preview

Page 1: World Wide Web Hyperlinks Servers/Clients Browsers HTML (HyperText Markup Language)
Page 2: World Wide Web Hyperlinks Servers/Clients Browsers HTML (HyperText Markup Language)

World Wide Web

• Hyperlinks • Servers/Clients• Browsers• HTML (HyperText Markup Language)

Page 3: World Wide Web Hyperlinks Servers/Clients Browsers HTML (HyperText Markup Language)

Hyperlinks

• Clicking will take you to another page or site.• Can be attached to text or images.• HTML CODE:<a href=“http://www.google.co.uk>LINK TEXT</a>

<a href=“http://www.google.co.uk><img src=“google.jpg”></a>

<a> are ‘anchors’ text – both the above will link to google.

Page 4: World Wide Web Hyperlinks Servers/Clients Browsers HTML (HyperText Markup Language)

Servers -- Clients• Web servers hold web pages• Clients ask for pages (by typing their address in a browser)

• Server sends a copy of the page to client(s)– Too many client requests may crash the server

(this is how a ‘denial-of-service’ attack works)

Web server

Client

Client

ClientClient requests page

Server sends pageClient requests page

Client requests page

Server sends pages

Page 5: World Wide Web Hyperlinks Servers/Clients Browsers HTML (HyperText Markup Language)

Browsers• Display webpages (convert text html code)

Page 6: World Wide Web Hyperlinks Servers/Clients Browsers HTML (HyperText Markup Language)

HTML (HyperText Markup Language)

Tags describe to the browser what and how to display stuff.Most come in pairs, open <> and close </>

<b> and this will notThis will be bold</b>

This will be bold

Turn on bold mode

and this will not

<b> and this will notThis will be bold</b>

Output this textTurn off bold modeOutput this text

Tag Result

<b> Bold

<i> Italic

<p> Paragraph

<img> Image

<a href=“…”> Hyperlink

Page 7: World Wide Web Hyperlinks Servers/Clients Browsers HTML (HyperText Markup Language)

URLs(Uniform Resource Locator)

• The address of files on the internet.– Usually web pages (.html, .php, .asp)– Also images (.jpg, .gif, .png etc)– Other files (.pdf, .docx, .zip)

• The address has parts split by the slashes.

http://www.astorcollege.org/images/pdfdocs/Astor_2013_2014.pdf

http:// the protocol (hyper text transfer)

http://

www.astorcollege.org the domain name

http://www.astorcollege.org

/images/pdfdocs/ the path (the folders within the domain)

http://www.astorcollege.org/images/pdfdocs/Astor_2013_2014.pdf

Astor_2013_2014.pdf the file

http://www.astorcollege.org/images/pdfdocs/Astor_2013_2014.pdf