(w) smolweb

smolweb HTML specification

This is a proposed specification for HTML elements (tags) and their attributes.

The goal is to mix the best of old and recent HTML versions: a simple syntax usable by lightweight or old browsers and the recent ones, and respecting accessibility.

Origin of this specification

This subset is inspired by a previous work proposed by W3C: the XHTML Basic

The XHTML Basic document type includes the minimal set of modules required to be an XHTML host language document type, and in addition it includes images, forms, basic tables, and object support. It is designed for Web clients that do not support the full set of XHTML features; for example, Web clients such as mobile phones, PDAs, pagers, and set top boxes. The document type is rich enough for content authoring.

For a better compatibility, it is not a good idea to specify the XHTML Basic 1.1 DTD in the doctype for smolwebsites.

Some deprecated tags (accronym, big, tt) have been removed from this list. Object and param tags have been banned to avoid inclusion of specific code such as Java applets.

As specify in Guidelines, semantics tags issued in more recent HTML versions have been added to propose a better accessibility.

HTML elements

*This work is in progress… all description of these elements are not written yet. For missing definitions, refer to Mozilla Developer Network documentation

Structural subset

Separate the HTML code in different structures, there is always one, and only one, occurrence of them in an HTML page

Semantic subset

Identify the different sections or area in the body of the document

Textual subset

Defines the level or the type of content in the document.

Hypertextual subset

Link with other web resources.

Listing subset

List representation of the content such as bulleted or ordered lists

Forms subset

Allow the user to input or modify data fields in the document and to submit them to the server.

Basic Table subset

Represent tabular data (think about spreadsheets notion).

Media subset

Presentation subset

Historically used for styling the content, these elements have, now, a more semantic role.

Metainformation and linking subset

Information included in the <head> of the document.