04.06.2013 Views

Head First HTML with CSS

Head First HTML with CSS

Head First HTML with CSS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

BULLET POINTS<br />

n<br />

n<br />

n<br />

Typically the best way to get on the Web is<br />

to find a hosting company to host your Web<br />

pages.<br />

A domain name is a unique name, like<br />

amazon.com or starbuzzcoffee.com, that is<br />

used to identify a site.<br />

A hosting company can create one or more<br />

Web servers in your domain. Servers are<br />

often named “www”.<br />

n The File Transfer Protocol ( FTP) is a common<br />

means of transferring your Web pages and<br />

content to a server.<br />

n<br />

FTP applications, like Fetch for Mac or<br />

WS_FTP for Windows, can make using FTP<br />

easier by providing a graphical user interface.<br />

n A URL is a Uniform Resource Locator, or Web<br />

address, that can be used to identify any<br />

resource on the Web.<br />

n<br />

n<br />

A typical URL consists of a protocol, a Web<br />

site name, and an absolute path to the<br />

resource.<br />

HTTP is a request and response protocol<br />

used to transfer Web pages between a Web<br />

server and your browser.<br />

n<br />

n<br />

The file protocol is used by the browser to<br />

read pages from your computer.<br />

An absolute path is the path from the root<br />

folder to a file.<br />

getting connected<br />

n “index.html” and “default.htm” are examples<br />

of default pages. If you specify a directory<br />

<strong>with</strong>out a filename, the Web server will look for<br />

a default page to return to the browser.<br />

n<br />

n<br />

You can use relative paths or URLs in your<br />

element’s href attribute to link to other<br />

Web pages. For other pages in your site, it’s<br />

best to use relative paths, and use URLs for<br />

external links.<br />

Use the id attribute to create a destination<br />

anchor in a page. Use ‘#’ followed by a<br />

destination anchor id to link to that location in<br />

a page.<br />

n To help accessibility, use the title attribute<br />

to provide a description of the link in <br />

elements.<br />

n<br />

Use the target attribute to open a link in<br />

another browser window. Don’t forget that<br />

the target attribute can be problematic for<br />

users on a variety of devices and alternative<br />

browsers.<br />

Wait, wait! Before you go, we need<br />

our logo on the Web page! Hello?<br />

Oh, I guess they’ve already gone on to<br />

Chapter 5...<br />

you are here 161

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!