W3C home > Mailing lists > Public > www-html@w3.org > August 2002

Re: How about a <notice> element?

From: Jonas Jørgensen <jonasj@jonasj.dk>
Date: Thu, 20 Jun 2002 17:03:11 +0200
Message-ID: <3D11EEAF.8030003@jonasj.dk>
To: www-html@w3.org

Jonas Jørgensen wrote:
> I propose a <notice> element (or similar) for marking up small notices.

I have given this some more thought, and this is what I propose:


The 'notice' element contains an informational notice, an error message, 
or a warning.


'type' -- takes one of three values:
    'notice' (the default): An informational notice.
    'warning': A warning.
    'error': An error message.


<notice type="warning">Are you sure you want to delete the file?</notice>

<notice type="error">The file could not be deleted.</notice>

<notice type="notice">The file has been deleted.</notice>

Visual user agents could render <notice type="notice"> with a green 
background and <notice type="error"> and <notice type="warning"> with a 
red background, and/or they could display an icon next to the notice (on 
the Windows platform, an "I" sign, an exclamation mark, and a red circle 
with a white X in it is typically used for these types of messages).


What do you think?

Received on Tuesday, 20 August 2002 11:03:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:00 UTC