Logo

 

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 the exact location of a file/directory on the internet. A relative URL points to a file/directory in relation to the present file/directory.
An example of relative URL is  ../images/piano.jpeg
This filepath links to an image in the "images" folder of the same root site as the current site.
An example of absolute URL is http://www.noemie.com/images/piano.jpg.
The address is separate.

What is the advantage of managing files, i.e. renaming, moving, and deleting files, through Dreamweaver's Files Panel?


The advantage is that Dreamweaver will update all the links that we change, on both the local and remote copies of the site.

What is the significance of a page named index.html?


The first HTML page we create in a new site should be the index page, which is the page that a Web browser loads automatically when somebody goes on the website. The name of the index page is most often named index.html.

What DOCTYPE should you be using for your pages?


The DOCTYPE we should be using for our pages is “XHTML 1.0 Transitional”

Why is <em> and <strong> preferred over <b> and <i>?


<em> stands for emphasis. Its default function acts like italic formatting.  <em> is preferred over <i>  to separate content from presentation.  Emphasis is a semantic expression of text, meaning that it describes the property of the text. Italics is an aesthetic expression and describes the look of a piece of text. The aesthetic expression is used for cascading style sheets and not XHTML.
The default function of <strong> is making the text bold. <strong> is preferred over <b> for the same reasons as <em> is preferred over <i>.