Digital imaging
Document Structure
The way a document is marked up with elements and
their attributes is according to a Document Type Definition (DTD).
These are the rules that govern the way in which a document can
be marked up.
The authoritative source for information about HTML
and the HTML DTD is the World Wide Web Consortium (W3C) at http://www.w3.org.
The World Wide Web Consortium is a not-for-profit organization that
coordinates the evolution of the Web. It includes the Internet Engineering
Task Force, the group of people who make recommendations for new
markup.
A Basic Document
An tag called HTML(tag) surrounds the whole document.
This element contains two sub-elements, HEAD and BODY. These elements
are required to form any HTML document.
<html>
<head>
<title> Your Web Site </title>
<body>
</body>
</html>
<html>
<HEAD> has sub-elements that define header material:
<TITLE> document title. The title of your document is what
appears in a web browser’s Favorite or Bookmark list. Your
document’s title should be as descriptive as possible. Search
engines on the Internet use the document’s title for indexing
purposes.
</TITLE>
<BASE> can be used to record the document's
location in the form of a URL. The URL recorded here may be used
to resolve a relative URL (necessary if the document is not accessed
in its original location).
</BASE>
<META> provides information such as the page’s
keywords and description that appears in HTTP headers.
</META>
|