Week Number 3


Mr.Gustavo Hansenberg

Basic Structure

It is important to follow the structure of a document. This way, we will separate the document, and it will be easy to follow. The document is divided in three main parts:
1. XML version and character encoding declaration, and DOCTYPE declaration.
2. The <head> element.
3. Also, either a <body> or <frameset> element.

The <link> element

This element links the document with other documents. It can help to create hyperlinks to relate elements from other documents; it could be such as web pages, style sheets or documents. Some types of links are: alternate, stylesheet, start, next, prev, contents, index, etc.

The <style> element

This element helps to create style to your document. It gives you the appearance that you desire. It can select attributes and giving them the format to be display on the browser. Color, size, background are some of the common elements used to give style to your page.

XHTML vs. HTML

They seem to be the same, but they have differences that we should have been aware at the time to post the document on the browser. There are browsers that do not support some progamming. Some examples of XHTML formatting documents are: Well formation of the documents, and embedded style sheets and scripts. The elements tags are important in both documents, event though there are differences in the syntax.