BBC Home

Explore the BBC


13th July 2009
Accessibility help
Text only
default banner
BBC Homepage

DNA Hub
Knowledge Base
Feedback
Search
Who's Online

h2g2
360
iCan
collective
Book of the Future
Talk Buffy
Get Writing
WW2
Parent's Music Room

Contact Us


Like this page?
Send it to a friend!

 
New visitors: Create your membership
Returning members: Sign in


Proposed GuideML 1.0 Specification

This document lists all the tags and attributes that I'm proposing should be in GuideML 1.0, following on from the RFC on the Proposed Standard for GuideML 1.0. It isn't a signed and sealed document - instead, I need your input to turn this list into a finished specification for GuideML 1.0, so make sure you take this chance to influence the development of the markup language of the Hitchhiker's Guide.

Please post any comments or questions on this specification to the Forum below.


Pre-amble

When the parser is rewritten to implement GuideML 1.0, only the tags and attriutes listed in this spcification will have any effect - all other tags and attributes will be completely ignored. Therefore, if you think there's a tag or attribute that isn't included here which should be, tell me in the Forum below. To help with this, I've put together a list of tags not included in GuideML 1.0, so it's worth taking a look through that list along with this one, to see if there's anything there that you think should be in GuideML.

Red Tags

In the tag list below, tags and attributes not in red are already a part of the current GuideML specification, as listed in the GuideML Clinic. Remember, though, that currently the parser lets any well-formed tags through (apart from those that have been disabled), so the non-red tags and attributes do not define current GuideML, only those which we've approved for use.

Those in red form additions to the current tag list, and although they may currently work, they haven't been ratified as a part of GuideML. That's what this document is all about!

Backwards Compatibility

I've tried to include as many tags that are currently used as I can. Following the RFC, the idea of a colour palette from the RFC has been booted out, and I've included some tags (like <MARQUEE> that shouldn't strictly be in a language like GuideML, but which give pleasure to lots of people. But no, you can't have <BLINK>...

We're also happy to continue to support some tags, like IMG, that are currently used in existing content, though again these shouldn't really be in a language like GuideML. However, as a part of specifying GuideML 1.0, we'd like to mark tags like these as 'deprecated', simply to discourage their use in new content, and I'd very much like to hear people's opinions of which tags should be marked as 'deprecated' in this way (<SECTION> is the only one currently in that list, and it's omitted from here). For example, given <STRONG>, should we deprecate <B>? This wouldn't stop <B> from working, but we may be able to prevent people from entering deprecated tags in new content, while still supporting their use in old content. Your feedback would be most welcome.

Other DNA Sites

Currently there are some tags available on other DNA sites apart from h2g2 that I haven't yet listed here. I hope to do that soon, but as they have no effect on h2g2 anyway, their omission isn't critical to this discussion.


The GuideML 1.0 Specification

I created this specification by going through the W3C specification for XHTML 1.0, the friendly WDG HTML 4.0 Tag List, the even friendlier HTML 4.0 Tag List, and O'Reilly's HTML book. If you have no idea what a proposed tag or attribute does, then check out these sites for more information (especially the last one, which includes all sorts of tags you're guaranteed never to have heard of).

In some cases I've changed an attribute name to make it a bit more obvious what it means, or to bring it in line with other tags. If anything in this list doesn't tally with the XHTML specification and you can't work out what on earth the tag or attribute means, please post below.

Common Attributes

All tags can take the following attributes (though that doesn't guarantee that they'll have any effect):

  • ID
  • STYLE
  • TITLE

Please also note that the H2G2 attribute is synonymous with DNAID, though currently h2g2 itself does not support the DNAID attribute.

Document Structure

TagAttributes
<BODY>-
<GUIDE>-
<INTRO>-
<META>DESCRIPTION
KEYWORDS
<REFERENCES>-

Block-level Elements

TagAttributes
<ADDRESS>-
<CENTER>-
<DIV>ALIGN
<HEADER>-
<HR>ALIGN
NOSHADE
SIZE
WIDTH
<P>ALIGN
<PRE>WRAP
<SUBHEADER>-

Blockquote Elements

<AUTHOR>BIO
<BLOCKQUOTE>AUTHOR
SOURCE
<SOURCE>BIO
DNAID
H2G2
HREF

Phrase Elements

TagAttributes
<ABBR>-
<ACRONYM>-
<CITE>-
<CODE>-
<DEL>DATETIME
REASON
<DFN>-
<EM>-
<FOOTNOTE>-
<INS>DATETIME
REASON
<KBD>-
<SAMP>-
<STRONG>-
<VAR>-

In-line Elements

TagAttributes
<A>NAME
HREF
<AREA>ALT
BIO
COORDS
DNAID
H2G2
HREF
NOHREF
POPUP
SHAPE
<BR>CLEAR
<IMG>ALIGN
ALT
BORDER
HEIGHT
HSPACE
SRC
USEMAP
VSPACE
WIDTH
<LINK>BIO
DNAID
H2G2
HREF1
ID
POPUP
SITE
TARGET
TITLE
<MAP>NAME
<NOBR>-
<PICTURE>ALT
BLOB
BORDER
CNAME
EMBED
HEIGHT
NAME
USEMAP
WIDTH
<PULLQUOTE>ALIGN
AUTHOR
EMBED
SOURCE
<Q>AUTHOR
SOURCE
<SPAN>-
<SUB>-
<SUP>-
<WBR>-

Font Style Elements

TagAttributes
<B>-
<BIG>-
<FONT>COLOR
FACE
SIZE
<I>-
<SMALL>-
<TT>-
<U>-

Forms

TagAttributes
<FIRSTITEM>-
<ITEM>BIO
DNAID
H2G2
HREF
<ITEM-LIST>-
<TEXTAREA>COLS
DISABLED
READONLY
ROWS
WRAP
<VOLUNTEER-LIST>GROUP

Lists

TagAttributes
<DD>-
<DL>-
<DT>-
<LI>TYPE
VALUE
<OL>START
TYPE
<UL>TYPE

Tables

TagAttributes
<CAPTION>ALIGN
VALIGN
<COL>ALIGN
CHAR
CHAROFF
SPAN
VALIGN
WIDTH
<COLGROUP>ALIGN
CHAR
CHAROFF
SPAN
VALIGN
WIDTH
<TABLE>BORDER
ALIGN
BACKGROUND
BGCOLOR
CELLSPACING
CELLPADDING
FRAME
HEIGHT
RULES
SUMMARY
WIDTH
<TBODY>ALIGN
CHAR
CHAROFF
VALIGN
<TD>ALIGN
COLSPAN
ROWSPAN
VALIGN

ABBR
AXIS
BACKGROUND
BGCOLOR
CHAR
CHAROFF
HEADERS
HEIGHT
NOWRAP
SCOPE
WIDTH
<TFOOT>ALIGN
CHAR
CHAROFF
VALIGN
<TH>ALIGN
COLSPAN
ROWSPAN
VALIGN

ABBR
AXIS
BACKGROUND
BGCOLOR
CHAR
CHAROFF
HEADERS
HEIGHT
NOWRAP
SCOPE
WIDTH
<THEAD>ALIGN
CHAR
CHAROFF
VALIGN
<TR>ALIGN
VALIGN

BACKGROUND
BGCOLOR
CHAR
CHAROFF
NOWRAP

Boxes

TagAttributes
<BOX>-
<BOXHOLDER>-
<TEXT>-
<TITLE>-

Special Tags

TagAttributes
<!-- -->-
<CONTENTS>-
<ENTITY>TYPE
<MARQUEE>BEHAVIOR
BGCOLOR
DIRECTION
HEIGHT
HSPACE
LOOP
SCROLLAMOUNT
SCROLLDELAY
WIDTH
<SITE>NAME
<SITEFILTER>EXCLUDE
<SMILEY>DNAID
H2G2
TYPE
<VOLUNTEER-LIST>GROUP

GuideML Gadgets

TagAttributes
<GUESTBOOK>BUTTON
COLS
FORUM
INREPLYTO
ROWS
SUBJECT
<POPUPCONVERSATIONS>HEIGHT
POPTARGET
TARGET
UPTO
USERID
WIDTH
<WHO-IS-ONLINE>-

1 The HREF attribute should cater for all the following: "http:", "gopher:", "ftp:", "news:", "nntp:", "telnet:", "view-source:", "irc:" and "mailto:".

Discuss this Article

People have been talking about this Article. Here are the most recent Conversations:
Who is online (Last Posting: Jan 20, 2004)
Status of GuideML (Last Posting: Jan 31, 2003)
sugestion: a <pie-chart> tag (Last Posting: Sep 13, 2002)
erm...i use guideml and i don't know what half of those are... (Last Posting: Jun 4, 2002)
Can anyone think of a use for contentEditable in GuideML? (Last Posting: May 20, 2002)
Font colours (Last Posting: Apr 30, 2002)
Layers (Last Posting: Apr 27, 2002)
HREF handlers (Last Posting: Apr 24, 2002)
Why's TEXTAREA red? (Last Posting: Apr 15, 2002)
<Q> and speech (Last Posting: Apr 15, 2002)
Click here to see more Conversations






Article Data
Article ID: A718166 (Help Page)
Edited by:
Mark Moxon

Date: 26   March   2002


Referenced Articles
RFC on the Proposed Standard for GuideML 1.0
XHTML 1.0 Tags Not in GuideML 1.0


Referenced Sites
W3C XHTML 1.0 Specification
WDG HTML 4.0 Tag List
HTML 4.0 Tag List

Please note that the BBC is not responsible for the content of any external sites listed.

Most of the content on this site is created by our Members, who are members of the public. The views expressed are theirs and unless specifically stated are not those of the BBC. The BBC is not responsible for the content of any external sites referenced. In the event that you consider anything on this page to be in breach of the site's House Rules, please click here to alert our Moderation Team. For any other comments, please start a Conversation below.