Sunday, July 10, 2011

First lesson: Site folder,Attributes & Syntax of Attributes,HTML vs. XHTML,Doctypes,Web standard, and Deprecated tags.

Website folders

Website folders provide a convenient way to create and manage a miniature website inside BSCW. Apart from the HTML documents (“pages”) making up the contents of the website, a website folder has two special pages: the home page that is shown when you click on a web­site folder’s icon website folder or name in a folder listing, and the layout page that serves as the stand­ard framework for all other HTML documents of the website folder, thus ensuring a con­sis­tent layout of all pages in a website folder. When creating a website folder, predefined home and layout pages are offered for a start.

HTML Versus XHTML

WaSP asks

Which should we use, HTML or XHTML, and why?

The W3C Responds

First, a bit of history

The history of HTML at W3C starts with HTML 3.2, code named Wilbur, which was followed a few years later by HTML 4.0, then HTML 4.01. HTML 4.01 is the last version of HTML, and is also the final W3C specification to define the semantics of markup. From HTML 3.2 to HTML 4.01, the language has improved a great deal, focusing on such issues as:
  • Separation of presentation from structure
  • Improved accessibility features
  • Improve internationalization features
  • Improved document rendering
XHTML 1.0 was created shortly after HTML 4.01 to help the transition of hypertext to a new generation of mark-up languages for text. XHTML 1.1 is an additional step toward a more flexible version of hypertext with the full benefits of XML architecture and integration of different technologies. Note that XHTML 1.1 has slighly improved the semantics of HTML 4.01 by including the Ruby module, used in particular languages like Japanese scripts (read the Ruby Specification for more information). For practical purposes, the discussion here will focus on HTML 4.01 and XHTML 1.0.

Get Ready For XHTML

XHTML is not very different from the HTML 4.01 standard.
So, bringing your code up to the 4.01 standard is a good start.
Our complete HTML 4.01 reference can help you with that.
In addition, you should start NOW to write your HTML code in lowercase letters, and NEVER skip closing tags (like </p>).

The Most Important Differences:

  • XHTML elements must be properly nested
  • XHTML elements must always be closed
  • XHTML elements must be in lowercase
  • XHTML documents must have one root element.

No comments:

Post a Comment