Chapter4 Flashcards

1
Q

What to look for while searching for a hosting company?

A

Technical support, Data transfer, Backups, Domain names, Goodies (email addresses, forums, support for scripting languages)

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

what is technical supporrt?

A

Does the hosting company has a good system for answering your technical questions? The better ones will answer your questions quickly either over the phone or via email.

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

What is data transfer?

A

This is a measure of the amount of pages and data the hosting company will let you send to your visitors during a given month. Most hosting companies offer reasonable amounts of data transfer for small sites in their most basic plans. If you are creating a site that you expect will have a lot of visitors, you may want to carefully look into this.

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

What are backups?

A

Does the hosting company regularly makes a backup of your pages and data that can be recovered in the event that the server has a hardware failure.

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

Why is it called a domain name rather than a website name?

A

Because they are different things. If you look at wvww.starbuzzcoffee.com that’s a website name. but only the starbuzzcoffee.com is the domain name. you could also create other websites that use the same domain name like corporate.starbuzzcoffee.com. So a domain name is some thing you can use for a lot of websites.

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

My hosting company seems to have called my root folder “mydomain_com”, is that a problem?

A

No at all, Hosting companies call root folders lots of different things. The important thing is that you never know where your root folder is located in the server. and that you can copy your files to it

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

What is the root folder?

A

In your computer the root folder is the top-level folder of your pages. On the web server the root folder becomes more important because anything inside the root folder is going to be accessible inside the web.

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

describe the different parts of a url and tell what it stands for.

A

Uniform Resource Locator, with it you can retrieve a page from the web. The protocol part tells the browser the method it should use to retrieve the resources(in most cases this is http Hyper text transfer protocol). The website part which consists of the server name and the domain name tells the browser which computer on the internet to get the resources from. And the absolute path tells the server what page you are after.

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

What’s an absolute path?

A

The absolute path tells the sever how to get from your root folder to a particular page or file. /cars/new/inventory.html

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

What is http?

A

It’s an agreed-upon method (a protocol) for transferring hypertext documents around the web. While hypertext documents are usually just HTML pages, the protocol can also be used to transfer images or any other file that a webpage might need.

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

We have learned to put relative paths in the page design, how can the server find those links if they aren’t absolute?

A

When you click on a link that is relative behind the scenes the browser creates an absolute path out of the relative path and the path of the page that you click on.So all the web server sees are absolute paths.

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

What happens when a browser asks for a directory?

A

When a web server receives a request like this, it tries to locate a default file in the directory. Typically a default file is called “index.html” or “default.htm”. and if the server finds one of these files, it returns the file to the browser display.

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

What is title attribute?

A

it’s an attribute for a element that let’s adding extra information for links and is usually shown as a tool tip.

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

How to link to elements with ids?

A

to link to a specific destination in a page just add a # on the end of your link.
bra a href=”index.htm#chai” ketsee Chai Teabra /a ket

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

is the order of attributes important?

A

No

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

how can I create a tool tip for en element that is not an bra a ket?

A

You can add the title attribute to any element. so if you want a tool tip say on a heading you can add a title attribute to your h1 opening tag just like we did with a.

17
Q

can I put a link to a destination from within the same documents?

A

Sure. In fact it is common to define a destination “top” at the top of the page (say on the top heading of the page) and have a link at the bottom of the page reading “back to top”. It is also common in long documents to have a table of contents for the entire page.

18
Q

Why did we need to add the /index.html to the buzz url in order to create a link to the destination heading? couldn’t we have just written:
http://wickedlysmart.com/buzz#Coffee?

A

No, that won’t work, because the browser adds the trailing slash on the end of the URL for you which could end up replacing the id reference. You could however have written:
http://wickedlysmart.com/buzz/#Coffee which will produce the same result as the link we created using “index.html”

19
Q

How to open a link in a new window?

A

with attribute target=”_blank”