Leo<HTML>

Tag Syntax

Tags - Referenz
Tag Syntax
    Tags
    Tags beschreiben
Include Tag
Macro Tags
Menu Tags
Locale Tags
Char Tag
File Tags
Image Tag
Delete Tag
Init System
Der Interpreter
Eigene Tags
Index

Quellen von syntax.html:
  
     
 
<include file="top.lhhtml"> 
 
<lconf pos="/syntax" pagename="syntax"> 
 
<section link="/syntax/tags" local="tags"> 
 
<locale> 
  <locale language="en"> 
 
On the w3 homepage you will find the definition af HTML tags. I Think we all know  
how a HTML tag looks like. <leohtml> does not fully support the HTML 4.0 standard.<br> 
There are some limitations: 
 
<p> 
All these limitations only affect to tags that are evaluated by <leohtml>. 
All tags that are unknown to <leohtml> will be ignored. Consequently it is 
absolutely nonrelevant if the pragramm recognises a tag that it has not to know. 
</p> 
 
  </locale> 
  <locale language="de"> 
 
Auf der w3 Hompage findest du die Definition eines HTML Tags. Aber ich glaube wir 
hier alle wissen wie ein HTML Tag aussieht. <leohtml> unterstützt leider nicht 
voll den HTML 4.0 Standard. <br> 
Es gibt einige Einschränkungen: 
 
<p> 
Diese Einschränkungen betreffen nur die Tags, die von <leohtml> ausgewertet werden. 
Alle, dem Kompiler unbekannten tags werden ingnoriert. Somit ist es auch egal 
ob das Programm ein Tag, das ihn nicht betrifft als solches nun erkennt, oder nicht. 
</p> 
 
  </locale> 
</locale> 
 
<br><br> 
 
 
<faq title-de="Tags müssen in einer Zeile stehen!" title-en="Tags have to be in one single line!"> 
 
<example mode=fixed> 
<char latin1> 
<lang de text="// gültig"> 
<lang en text="// valid"> 
<img src="foobar.jpg" width="123" height="123"> 
 
<lang de text="// ungültig"> 
<lang en text="// invalid"> 
 
  width="123" height="123"> 
 
</char> 
</example> 
 
<br><br> 
 
<locale> 
 <locale language="en"> 
 
HTML 4.0 allows this, <leohtml> not! 
 
<br><br> 
 
But from time to time it is easier to split up a tag over 
several lines. This can be done by adding a Backslah at the  
and end, as the last sign of a line at the end of the line. 
 
 
</locale> 
  <locale language="de"> 
 
HTML 4.0 erlaubt dies, <leohtml> nicht! 
 
<br><br> 
 
Aber von Zeit zu Zeit ist es recht praktisch ein Tag über mehrere 
Zeilen zu schreiben. Dies ist auch möglich, wenn als das letzte Zeichen 
einer Zeile einen Backslash schreibt. 
 
  </locale> 
</locale> 
 
<example mode="fixed"> 
&lt;img src="foobar.jpg" \  
  width="123" height="123"&gt; 
 
</example> 
 
<br><br> 
 
<locale> 
  <locale language="en"> 
 
But be careful! The Backslash has to be really the last sign of the line. 
No Space has to be there after the Backslash. 
 
  </locale> 
  <locale language="de"> 
 
Aber seit Vorsichtig! Der Backslash muß wirklich das letzt Zeichen der Zeile 
sein und es dürfen dannach keine Leerzeichen folgen. 
 
  </locale> 
</locale> 
 
</faq> 
 
<!-- ********************** --> 
 
<faq title-en="Tags are casesensitive!" title-de="Groß und Kleinschreibung wird unterschieden!"> 
 
<locale> 
  <locale language="en"> 
 
<leohtml> is casesensitiv. That means that <code>"HELLO"</code> and  
<code>"hello"</code> are two completely different words 
 
  </locale> 
  <locale language="de"> 
 
<leohtml> unterscheidet Groß und Kleinschreibung. Das bedeuted, dass  
<code>"HALLO"</code> und <code>"hallo"</code> für das Programm 2 komplett 
verschiedene Wörter sind. 
 
  </locale> 
</locale> 
 
<example mode="fixed"> 
<lang de text="// gültig"> 
<lang en text="// valid"> 
&lt;image src="foobar.jpg"&gt; 
 
<lang de text="// Gültig aber das Tag wird vom Kompiler nicht als image Tag erkannt."> 
<lang en text="// Valid, but the tag won't be detected as image tag by compiler."> 
&lt;IMAGE src="foobar.jpg"&gt; 
&lt;iMAge src="foobar.jpg"&gt; 
 
<lang en text="// this will give you a warning (missing src option)"> 
<lang de text="// dies wird eine Warnung zur Folge haben (fehlende src option)"> 
&lt;image SRC="foobar.jpg"&gt;  
 
</example> 
 
</faq> 
 
</section> 
 
<!-- ********************* --> 
 
<section link="/syntax/describing" local="describing"> 
 
<locale> 
  <locale language="de"> 
 
Ich werde die Definition eines Tags anhand des <code>img</code> Tags erklären. 
 
  </locale> 
  <locale language="en"> 
 
I'll explain the definition of a tag by using the <code>img</code> tag. 
 
  </locale> 
</locale> 
 
<definition title="Img Tag Definition:"> 
 <tag name="img"> 
   <option name="src"    value="image.jpg"   info="path to an image file"> 
   <option name="width"  value="xxxx"        info="image width"     optional calculated> 
   <option name="height" value="xxxx"        info="image height"    optional calculated> 
   <option name="alt"    value="bla bla bla" info="descritpion"     optional> 
   <option name="border" value="xxx"         info="border width"  default="2"  optional> 
 </tag> 
</definition> 
 
<br><br> 
 
<locale> 
  <locale language="en"> 
 
If you know the <code>img</code> tag all should be clear. All tags in this guide 
will be described this way.<br> 
First of all there are two tag types. The <b>single_tag</b> and the <b>open_close_tag</b>. 
The <code>img</code> tag is a single_tag; and the <code>code</code> tag is an open_close_tag. 
 
  </locale> 
  <locale language="de"> 
 
Wenn du das <code>img</code> Tag kennst, sollte alles klar sein. Alle Tags in 
dieser Dokumentation werden so beschrieben.<br> 
Als erstes sollte erwähnt werden, dass es zwie verschiedene Tag Typen gibt.  
Das <b>single_tag</b> und das <b>open_close_tag</b>. Das <code>img</code> Tag 
ist ein single_tag und das <code>code</code> Tag ist ein open_close_tag. 
 
  </locale> 
</locale> 
 
 
<example mode=sfixed>  
// single_tag<br> 
<char latin1><img src="foo.jpg"></char> 
 
<br><br> 
 
// open_close_tag<br> 
<char latin1><code>fobar foo bar barfoo</code></char> 
 <br><br> 
</example> 
 
<br> 
<br> 
 
 
<locale> 
  <locale language="en"> 
 
Options that are market with <code>(calculated)</code> 
will, if this option wasn't defined by you, calculated. At the <code>img</code> tag the browser 
will load the image and reads himself the dimensions of the image. If you give him 
the dimension of the image he won't have to calculate it himself. 
 
  </locale> 
  <locale language="de"> 
 
 
Optionen, die mit <code>(calculated)</code> 
gekennzeichnet sind, werden ,wenn sie nicht von dir definiert wurden, ermittelt. 
Beim <code>img</code> Tag wird der Browser das Bild laden und selbst herausfinden 
wie groß das Bild ist. Wenn du ihm die Dimensionen vorgibst, dann wird er das nicht 
mehr errechnen müssen. 
 
  </locale> 
</locale> 
 
<br><br> 
 
<locale> 
  <locale language="en"> 
 
In many cases the short description of the tag won't be enouth, 
then the option will be described more exactly down on the page. 
 
  </locale> 
  <locale language="de"> 
 
In vielen Fällen ist die kurze Beschreibung der Option nicht ausreichend, 
dann wird diese auf der Seite weiter unten noch genauer beschreiben. 
 
  </locale> 
</locale> 
 
</section> 
 
                  
    



Diese Seite wurde von King Leo kreiert. Seitengenerator Leo<HTML> Version 0.99.0 .