What's New

homework -

week 3 homework

week 4 homework

week 6 homework

week 7 homework

week 8 homework

week 9 homework

week 10 homework

week 11 homework

week 12 homework

links -

Adobe Dreamweaver Support Center

The World Wide Web Consortium

Web Style Guide

glossary -

Full Glossary

FTP

Tim Berners-Lee

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

home | homework | links | glossary | sitemap | contact

Week 3: Dreamweaver & HTML

Dreamweaver

What is the difference between a relative and absolute URL? Please give an example of each.
An absolute URL points directly to a file and specifies its exact location. The absolute URL will contain the full path of your website, including the domain and any applicable directories, as well as the file name.
Example: http://www.cupcakeninja.com/uclaextension/images/ninja.jpg

A relative URL will direct you to a file or directory within the present file or directory.
Example: uclaextension/images/ninja.jpg

What is the advantage of managing files, i.e. renaming, moving, and deleting files, through Dreamweaver's Files Panel?
The advantage of the Files panel in Dreamweaver is being able to update links when you've made changes to files. For example, if you changed the name of an image file, Dreamweaver will automatically update the image filename wherever it's been referenced, so you won't have to manually update the filename on all pages where it appears.

What is the significance of a page named index.html?
The index.html page is traditionally the main page of a website, and therefore it's the page a web browser will access when you enter the root URL of a website into the web browser.

What DOCTYPE should you be using for your pages?
The XHTML 1.0 Transitional DOCTYPE is the preferred standard. Visit A List Apart for more info about DOCTYPEs.

Why is <em> and <strong> preferred over <b> and <i>?
The <em> tag acts much like the <i> tag in that it formats text in italics, and the <strong> tag acts much like the <b> tag in formatting text in bold. However, modern web development seeks to separate content from presentation. The <em> and <strong> tags describe the property of the text, rather than its aesthetics, and are therefore preferred over <b> and <i>.

HTML