aboutsummaryrefslogtreecommitdiff
path: root/files/de/web/html/element/var/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/de/web/html/element/var/index.html')
-rw-r--r--files/de/web/html/element/var/index.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/files/de/web/html/element/var/index.html b/files/de/web/html/element/var/index.html
new file mode 100644
index 0000000000..109ea376a2
--- /dev/null
+++ b/files/de/web/html/element/var/index.html
@@ -0,0 +1,46 @@
+---
+title: var
+slug: Web/HTML/Element/var
+tags:
+ - HTML
+ - HTML Elemente
+ - HTML Referenz
+translation_of: Web/HTML/Element/var
+---
+<h2 id="Summary" name="Summary">Übersicht</h2>
+
+<p>Das HTML <code>&lt;var&gt;</code> Element repräsentiert eine Variable. Es kann sich dabei um eine mathematischen Ausdruck handeln oder um eine Variable in einem Quellcode.</p>
+
+<h2 id="DOM_Interface">DOM Interface</h2>
+
+<p>Dieses Element implementiert das <code><a href="/de/DOM/element" title="de/DOM/element">HTMLElement</a></code> Interface.</p>
+
+<div class="note">
+<p><strong>Implementationshinweis:</strong> Bis einschließlich Gecko 1.9.2 implementiert Firefox das <a href="/de/DOM/span" title="de/DOM/span"><span style="font-family: Courier New;">HTMLSpanElement</span></a> Interface für dieses Element.</p>
+</div>
+
+<h2 id="Attribute">Attribute</h2>
+
+<p>Keine speziellen vorhanden, nur Universalattribute.</p>
+
+<h3 id="Standardmäßige_Style-Eigenschaften">Standardmäßige Style-Eigenschaften</h3>
+
+<pre class="brush:css">var {
+ font-style: italic;
+}</pre>
+
+<h2 id="Beispiel">Beispiel</h2>
+
+<pre class="brush:xml">&lt;p&gt; Eine einfache Gleichung: &lt;var&gt;x&lt;/var&gt; = &lt;var&gt;y&lt;/var&gt; + 2 &lt;/p&gt;
+</pre>
+
+<p>Eine einfache Gleichung: <var>x</var> = <var>y</var> + 2</p>
+
+<h2 id="Spezifikationen">Spezifikationen</h2>
+
+<ul>
+ <li><a class="external" href="http://www.w3.org/TR/html401/struct/text.html#edef-VAR">HTML 4.01 var</a></li>
+ <li><a class="external" href="http://dev.w3.org/html5/markup/var.html">HTML5 var</a></li>
+</ul>
+
+<div>{{HTMLRef}}</div>