[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta
Subject:    Re: [Quanta] [html]: How to set alt="" as default in <img>
From:       Andras Mantia <amantia () kde ! org>
Date:       2005-03-09 15:39:00
Message-ID: 200503091739.00485.amantia () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 09 March 2005 17:28, Joff wrote:
> but i must admit, it might be useful to have required attributes
> automatically inserted into a tag (is this information in the dtd?)

This is another question. As I understood the original question was 
about when you insert an image with the tag dialog, not when you type 
"<img".  In the dialog there is a field for Alternative text which 
should be filled. I said that there is no logic behind inserting alt="" 
when this field is not filled. Better you notice that you forgot the 
alt attribute when you validate the document.

Inserting required attributes when you type the tag might be useful, yet 
it has the same problem. For example you type "<img" and Quanta inserts
<img alt="">, and you love it, but don't enter anything between the "". 
Your document will validate, but it will not be valid for real. But 
this is something I'm open to discuss. Just that right now there is no 
information in the DTEP regarding the attributes requirement status.

Andras

-- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org

[Attachment #5 (application/pgp-signature)]

_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic