home | homework | links | glossary | sitemap | contact
Homework
Week 3
Happy birthday to me...
-
What is the difference between a relative and absolute URL? Please give an example of each.
-
Absolute URLs are independent from relationships and give you the direct name of a file. Relative URLs point to a file/directory in relation to the present file/directory. Absolute URLs contain more information than relative URLs. A relative URL can be more convenient because it's shorter and often more portable, but you can only use them to reference links on the same server as the page that contains them.
An Absolute URL would look like:
<img src="https://rannierodil.tripod.com/assets/images/vomitad.jpg">
A Relative URL would look like:
<img src="../images/vomitad.jpg">
-
What is the advantage of managing files, i.e. renaming, moving, and deleting files, through Dreamweaver's Files Panel?
-
In Dreamweaver's File Panel, you can get quick easy access to files and simply drag and drop them where you want on a page. The file panel is laid out in a convenient, easy-to-read format.
-
What is the significance of a page named index.html?
-
The default page in a directory is normally named index.html. When creating a new site the main page of a website should be named index.html. This will be the home page for your site. For more information check out this site.
-
What DOCTYPE should you be using for your pages?
-
xhtml 1.0 transitional.
-
Why is <em> and <strong> preferred over <b> and <i>? In web development, <em> and <strong> are preferred over <b> and <i> because of the desire to separate content from presentation.
Developers prefer to describe what the property of the text by using emphasis and strong (<em> and <strong>), rather than the describing aesthetic look of the text using italic or bold (<i> and <b>).