HTML, General Questions???

  King Diamond 16:07 30 May 2003
Locked

1. Why does and what are the benefits of separating data from presentation?

2. What does the term 'well formed document'mean?

Thank you.

  Forum Editor 19:31 30 May 2003

is one that is easy for a program to read/understand - properly put together in other words.

From your question I suspect that you're asking about XML rather than HTML. XML is used for the 'back end' aspects of a web application, and HTML for the front end. We're wading out into deeper water here, and this isn't a subject that can be adequately tackled in one answer.

To be 'well formed' an XML document must meet the following criteria

1. The XML declaration must come first in every document.


2. Comments are not valid within a tag.


3. Comments may not contain two hyphens in a row, other than the beginning and end of the comment.


4. Tags must have an end tag, or be closed within the singleton tag itself, for example:- <br />


5. All attributes of tags must be quoted, preferably using double quotes unless the attribute itself contains a double quote


6. Every XML document must contain one element that completely contains all the other elements


To see some further reading on this subject
click here

  King Diamond 20:11 30 May 2003

Cheers editor...spot on.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

HP Envy x2 review: Hands-on

Iconic New York graphic designer Milton Glaser on his uplifting new subway posters

New iMac Pro release date, UK price & specs rumours

Comment suivre le parcours du père Noël ?