Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Request - your most frequently used/"default" tag attributes

Reply
Thread Tools

Request - your most frequently used/"default" tag attributes

 
 
Mark Erikson
Guest
Posts: n/a
 
      07-30-2003
I'm currently writing an HTML editor for the PocketPC, and one of my
Tag class's properties is DefaultAttributes. The idea behind this is
that some tags are almost always used with certain attributes, ie <a
href="">, so I'd like to make sure those attributes are included when
I insert the tag. Since I actually don't write that much HTML myself,
I was hoping to get some feedback as to which tag/attribute
combinations are used particularly frequently. Since I did cross-post
this (hopefully not annoyingly so), e-mails to markulus00 -at-
yahoo.com would be greatly appreciated (though I will check these
newsgroups as well).

Thanks!

Mark Erikson

 
Reply With Quote
 
 
 
 
Jonas Hansson
Guest
Posts: n/a
 
      07-30-2003
Mark Erikson <(E-Mail Removed)> wrote in
news:(E-Mail Removed):

> I was hoping to get some feedback as to which tag/attribute
> combinations are used particularly frequently.
> Mark Erikson
>
>


You could start by using all attributes marked as #REQUIRED in the
specification.
http://www.w3.org/TR/REC-html40/index/attributes.html
 
Reply With Quote
 
 
 
 
Nick Theodorakis
Guest
Posts: n/a
 
      07-31-2003
On Wed, 30 Jul 2003 09:34:59 -0400, Mark Erikson
<(E-Mail Removed)> wrote:

>I'm currently writing an HTML editor for the PocketPC, and one of my
>Tag class's properties is DefaultAttributes. The idea behind this is
>that some tags are almost always used with certain attributes, ie <a
>href="">, so I'd like to make sure those attributes are included when
>I insert the tag. Since I actually don't write that much HTML myself,
>I was hoping to get some feedback as to which tag/attribute
>combinations are used particularly frequently.


<img src="" alt="">

<form action="">

Nick

--
Nick Theodorakis
http://www.velocityreviews.com/forums/(E-Mail Removed)
 
Reply With Quote
 
Jukka K. Korpela
Guest
Posts: n/a
 
      07-31-2003
(E-Mail Removed) (Nick Theodorakis) wrote:

> <img src="" alt="">
>
> <form action="">


The attributes in those elements are even _required_ by HTML syntax (by
HTML 4.01 at least - the alt attribute was "only" recommended, not
formally required, before HTML 4.0).

An HTML editor should naturally makes it best to ensure that the markup
is syntactically valid, unless the user specifically requests
otherwise. In particular, it should prompt the user for values for all
required attributes and include them.

Checking the list of attributes, the handy appendix of the HTML 4.01
specification, at
http://www.w3.org/TR/html4/index/attributes.html
you can find what attributes are required, by looking at the "Default"
column.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what are the most frequently used functions? Xah Lee Python 7 10-29-2006 06:47 AM
what are the most frequently used functions? Xah Lee Java 6 10-29-2006 05:55 AM
how do u invoke Tag b's Tag Handler from within Tag a's tag Handler? shruds Java 1 01-27-2006 03:00 AM
Struts - Request attributes while forwarding the request Yogesh Java 11 01-07-2005 02:29 AM
Counting most frequently-occurring n-grams in a file (or over multiple files) C3 Perl Misc 8 09-26-2004 01:17 PM



Advertisments