Proclamation of Dogma W4 | Principles | Details
Version 1.0 |
OBSOLETE (see current version) | 1 October 2002
Current version and other information: http://dogma.pixy.cz
A lots of texts has been written about worthful and universally accessible web. We, as webdesigners, are understanding one example is better than thousands of books. Therefore, this web site honours the Principles of Dogma W4. These principles are not essential for good web. However, honouring them reduces hazards off less accessibility and usability of the web with no compromise.
<head> section of
the document, even if it is sent in the http-header. The header must
also contain name(s) and e-mail address(es) of the author(s) of the code, or link to a document containing them. [see
Details - Header]<link> tag. [see Details - Devices]<head>. [see Details - External Data]x-small, neither smaller than 85 % of the base font size of the document. The font size must
reflect the content hierarchy. If the font-family is defined in CSS, the
last value in the list must be a generic family. [see Details - Text]Following text explains and specifies several articles. These deliminations are as normative as rules specified in the Principles.
alt atribute, its visual presentation is accepted as supplementary
information; tables are presented by (X)HTML resources,
link to the table in another format (CSV, XLS,
etc.) may be offered only as the alternative, etc.text/plain, with us-ascii encoding (the text contains only ASCII
chars 0-127) and line breaks are made by CR+LF
sequences. Text files using another charset may be used only if the link to them is followed by viewable information
about used encoding."] or single ['] quotes, double quotes
are used.<html><head><title>Title</title></head><body>[identification]</body></html><h1> tag in HTML
and XHTML 1). Its content introduces the message
of the document. Instead of one top-level heading, the indentification may be formed by hierachic sequence
of headings of several levels (e. g. website title - section title - document title), starting with the
top-level heading. In this case, every level must be used exactly once, no level can be left, and lower levels
cannot precede higher levels in the document structure.<title> tag must briefly and pregnant describe the document, even if
it's used later, without the document context (link to the document, name of a bookmark etc.)http-equiv="Content-Type" content="text/html; charset=charset_code"<?xml version="1.0" encoding="charset_code"?>name="author" content="[part]: name & surname; valid e-mail address",code - the author of the document codescripts - the author of scripts used within the documentstyle - the author of stylesheets used within the documentall - the author of all used codes<link> tag.<b>, <i>, <big>,
or atributes bgcolor, align, etc.) are forbidden, even if the specification allows
them. Only tags marking semantic structure of the content and type of its parts (citation, address, emphasis,
etc.) may be used.<img> tags in the document are linked only to images having visual informational value,
relevant to textual content of the document.<div>
and <span> and atributes class and id. Values of these atributes
use only lowercase letters [a-z], digits [0-9] and minus [-] and underscore
[_] signs; they start with a letter. Different elements use different id, there
is no element with two different id.<a> tag.alt atribute of an object forming the link) must clear describe
the target of the link. Links like "click <a>here</a>" are forbidden.title atribute can
be counted in in well-founded cases:title atribute (same targets have same description,
different targets have different description).title atribute, and it must be different
in each list item. E. g. links like [details], [add to the shopping basket] in products table;
[full story] at the end of each example in list of stories, etc. Anyhow, same links must cause same
type of action for each item in the list, they must have same form and position in every item, and
their descriptions must be mutualy different.<ol>) must not contain value which
could be generated for the target item (e. g. "item 9.2.1").title
atribute of the link, etc.) saying the file size, the file type and how to proccess the file. If type of the
file is different than (X)HTML, TXT, GIF, JPG, or PNG, the proccessing application and link to its download
must be specified, too [see also Document Format].text-decoration:none for a:link
and a:visited elements is forbidden. If author specifies style for links' dynamic states (:hover,
:active, :focus), he must not use same style for different states. All states must
be styled mutually different, and it can't be done only by setting border, padding
and margin properties.font-size, font-weight, margin
and display.border, cellpadding, or cellspacing
is forbidden.summary atribute is mandatory in every table. It must contain description of structure, purpose
and content of the table.<style> tag, using the style atribute, and writing script's
code within the document are forbidden. A <style> tag may contain only @import
rules.font-family must be one of keywords serif, sans-serif,
monospace, cursive, or fantasy.