W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2010

[whatwg] Output of web applications

From: Chris Taylor <Chris.Taylor@figureout.com>
Date: Fri, 8 Jan 2010 15:32:27 +0000
Message-ID: <8D83F8F2930C074D94A02FAFA2E0B17201C21AC128@tpexmb01>
> Nikita Popov
> I don't quite know which element name to use best, maybe:
> <output>
> <output error> / <output info(rmation)>
> <output type="error"> / <output type="info(rmation)">
> (The question is, what is <output>, error or info?)
> What do you think?

I think having access to the full range of HTML elements for a response message is a very useful feature. For example:

<div class="error">
<h3>Sorry, there was an error</h3>
<p>There was an error with the form you just submitted. Please check the following:</p>
<li>Your email address is valid</li>
<li>Your password and its confirmation match</li>

Whether there is a use-case for having a particular element that appears as part of the browser chrome I'm not sure, but I think that's probably what you're getting at. For example, see the message that shows at the top of the screen when an error occurs on Twitter (sorry, I don't have an example URL).


This message has been scanned for malware by SurfControl plc. www.surfcontrol.com
Received on Friday, 8 January 2010 07:32:27 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:20 UTC