|
Instructional Module X13c.htm |
|
||
| |
|---|
|
In Module X01c, the vision of the Semantic Web was introduced. In order to bring this vision to reality, one step Web designers must take is to separate content and structure from presentation. In this module, we'll look at details of some of structure, content, and presentation. |
| |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Logic Structures
|
There are two kinds of structure that concern Web design:
Logic structure is the underlying organization of the information. Logic structure is often expressed in outlines. A good designer will create a logical structure for a document first, then consider the syntactic options for expressing that logic structure. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Syntactic Structures
|
Syntactic structures are the units of code+information in a Web page. For example, we can code structures such as paragraphs, lists, and tables for our pages. Since the purpose of a Web page is to display information clearly and attractively, the logic structure is the first type of structure to consider. Designers need to be creative in using syntactic structures, but not get blinded by the code and coding process so that they forget the logic. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Block and Inline Structures
|
The syntactic structures of XHTML are of two types: block and inline. It's important to know the difference, because you can't put block elements inside inline elements. Notice that:
Block StructuresThis table shows the elements defined as Block Structures in the formal XHTML documentation.
Notes:
Inline StructuresAnd here are the elements defined as Inline Structures:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |
|
|---|---|
|
Data: Role and Information
|
Data in computers is of two types:
Information is the "payload". It's what you want to get out of the computer or network. This is what we call the content of a Website. Metadata is data about information. Its purpose is to clarify what the information is about. For example, if you want to know someone's address, the information content
is The metadata, or role, of each piece of information is In normal human conversation, we often get the information without its role, and supply the metadata from the context and from our experience. Since machines can't do that, we have to supply the metadata to enable software agents to understand what they're finding and use it in helpful ways. The main purpose of RDF is to enable machine-readable metadata. |
|
Text, Objects, and References
|
Information comes to us in many forms. On the Web, there are three main forms of content:
|
| |
|
|---|---|
| For Further Information | W3C Technical Architecture Group working paper on document structure, "Separation of semantic and presentational markup, to the extent possible, is architecturally sound": http://www.w3.org/2001/tag/doc/contentPresentation-26.html | ![]() |
Click here for review questions. |
|
Audience
|
|
| Objectives | |
| Module X13c.htm: Document Structure, Content, and Presentation | This document is part of a modular
instruction series in Computer Instruction. For more information, see
the overview
or the list of modules in this series, X: XML, XHTML,
DHTML, CSS. This document has been used in the following classes: INP
150. |
| History | Original: 19 September 2003,
by Laurence J. Krieg Last modification: Monday, 31-Aug-2009 11:48:07 EDT |
| Copyright | Copyright © 2003, Laurence
J. Krieg, Washtenaw Community College Instructors: You may point to this file in your Web-based materials; however, its location may change without notice. Students: You are welcome to make a copy for your personal use. All other uses: Please contact the author, Laurence J. Krieg, for permission: krieg@ieee.org. |