Re: [WSG] Tags for file names

2004-07-04 Thread Peter A. Shevtsov
Luca Mascaro .info wrote:
Hello, hypotheticaly and semanticaly, not exist any element to describe a
file name. I usually use a link whit any href.
Luca Mascaro
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
* 

 

Hello
Link is not acceptable, because I don't want to link the file name with 
the real file.
Here is the sample sentences which I'm trying to markup:
".htaccess file should also be created",
"First of all you should find out the list of necessary configuration 
variables. They should be described in info.xml file along with the 
build number, version number and application disk usage."

--
Peter A. Shevtsov
Reclaim Your Inbox!
http://www.mozilla.org/products/thunderbird
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
* 



Re: [WSG] Tags for file names

2004-07-04 Thread James Ellis
Peter -
The  tag is HTML 4, and represents 'computer code'- 
http://htmlhelp.com/reference/html40/phrase/code.html

Quote:
"
The *CODE* element denotes /computer code/. Visual browsers typically 
render *CODE* as monospaced text, but authors can suggest a rendering 
using style sheets . Since *CODE* is 
a structural element, it carries /meaning/, making it preferable to font 
style elements such as *TT 
* when marking 
up computer code.

Since spacing is often important when presenting computer code, the *PRE 
* element can be 
useful as a container for *CODE* elements. When used within other 
containers, a *CODE* element has multiple spaces collapsed. The 
following example uses *CODE* within *PRE*:
"


It does carry meaning, but not the one you are after. If you are marking 
up a phrase that is of class "filename"  (like a phrase that is of class 
"question", "verb" or "sarcasm") then you may be better off going for 
readme, then style that class.

Cheers
James
Peter A. Shevtsov wrote:
Hello, List!
I'm writing the computer document (some kind of spec), where file 
names are mentioned from time to time. So my question is what tag 
should I use for file names?
Now I use something like that: readme.txt, but I think 
tha's not semanticaly correct...

What's your oppinion?
Thanks!
--
Peter A. Shevtsov
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
* 



RE: [WSG] Tags for file names

2004-07-04 Thread Luca Mascaro .info
Hello, hypotheticaly and semanticaly, not exist any element to describe a
file name. I usually use a link whit any href.

Luca Mascaro


*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*