HighDots Forums  

Variables on web pages

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Variables on web pages in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Richard Treadgold
 
Posts: n/a

Default Variables on web pages - 05-03-2004 , 06:16 PM






Is there a way to use variables on a web page?

I suppose I mean simple text replacements, such as replacing each occurrence
of the expression, say, "title" with "World Encycopaedia of Insects". Or
replacing "date" with the current date.

Would it mean scripting or programming?

I'd appreciate any pointers you can give me.

Thanks
Richard

Reply With Quote
  #2  
Old   
Pierre Goiffon
 
Posts: n/a

Default Re: Variables on web pages - 05-04-2004 , 04:24 AM






"Richard Treadgold" <richard (AT) NOSPAMwordshine (DOT) com> a écrit dans le
message de news:Xns94DF72CFB25CCrichardwordshine (AT) 203 (DOT) 96.92.12
Quote:
Is there a way to use variables on a web page?
What do you really want to do ?



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

Default Re: Variables on web pages - 05-04-2004 , 05:51 AM



"Pierre Goiffon" <pgoiffon (AT) nowhere (DOT) invalid> wrote:

Quote:
Is there a way to use variables on a web page?

What do you really want to do ?
"To use a preprocessor", that's my guess. Or maybe SSI or similar
technique. Whatever the question is, among the imaginable possibilities,
the answer is not in HTML.

(Well, in practice, that is. Nobody prevents you from defining named
constants using <!ENTITY> declarations, by SGML rules; however, even the
HTML 2.0 specifications, a great improvement over its successors, does
not require support to entity declarations - it just says that "HTML user
agents - - may support an internal declaration subset with supplemental
entity, element, and other markup declarations". Moreover, hardly any
browser ever made even a serious attempt at actually supporting HTML as
an SGML application.)

--
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 - 2008, Jelsoft Enterprises Ltd.