HighDots Forums  

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

alt.html.tags alt.html.tags


Discuss Request - your most frequently used/"default" tag attributes in the alt.html.tags forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mark Erikson
 
Posts: n/a

Default Request - your most frequently used/"default" tag attributes - 07-30-2003 , 09:34 AM






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
  #2  
Old   
Jonas Hansson
 
Posts: n/a

Default Re: Request - your most frequently used/"default" tag attributes - 07-30-2003 , 10:39 AM






Mark Erikson <markulus00 (AT) yahoo (DOT) com> wrote in
news:caifivo6mlalk7h1ct05uju372vum945ee (AT) 4ax (DOT) com:

Quote:
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
  #3  
Old   
Nick Theodorakis
 
Posts: n/a

Default Re: Request - your most frequently used/"default" tag attributes - 07-30-2003 , 10:58 PM



On Wed, 30 Jul 2003 09:34:59 -0400, Mark Erikson
<markulus00 (AT) yahoo (DOT) com> wrote:

Quote:
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
nicholas_theodorakis (AT) urmc (DOT) rochester.edu


Reply With Quote
  #4  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Request - your most frequently used/"default" tag attributes - 07-31-2003 , 02:31 AM



nicholas_theodorakis (AT) urmc (DOT) rochester.edu (Nick Theodorakis) wrote:

Quote:
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
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.