aboutsummaryrefslogtreecommitdiff
path: root/files/fi/web/html/element/head
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:45 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:45 -0500
commit1109132f09d75da9a28b649c7677bb6ce07c40c0 (patch)
tree0dd8b084480983cf9f9680e8aedb92782a921b13 /files/fi/web/html/element/head
parent4b1a9203c547c019fc5398082ae19a3f3d4c3efe (diff)
downloadtranslated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.tar.gz
translated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.tar.bz2
translated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.zip
initial commit
Diffstat (limited to 'files/fi/web/html/element/head')
-rw-r--r--files/fi/web/html/element/head/index.html108
1 files changed, 108 insertions, 0 deletions
diff --git a/files/fi/web/html/element/head/index.html b/files/fi/web/html/element/head/index.html
new file mode 100644
index 0000000000..165583a167
--- /dev/null
+++ b/files/fi/web/html/element/head/index.html
@@ -0,0 +1,108 @@
+---
+title: '<head>: Dokumentin metadata (Header) elementti'
+slug: Web/HTML/Element/head
+tags:
+ - Elementti
+ - HTML
+ - 'HTML:Metadata sisältö'
+ - Referenssi
+ - Web
+translation_of: Web/HTML/Element/head
+---
+<div>{{HTMLRef}}</div>
+
+<p><strong>HTML <code>&lt;head&gt;</code> elemetti</strong> tarjoaa yleisen informaation (metadatan) dokumentista, mukaan lukien sen otsikon sekä linkit skripteihin ja tyylitiedostoihin.</p>
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th><a href="/fi/docs/Web/HTML/Content_categories">Sisältökategoriat</a></th>
+ <td>Ei mitään.</td>
+ </tr>
+ <tr>
+ <th>Sallittu sisältö</th>
+ <td>Jos dokumentti on {{HTMLElement("iframe")}} {{htmlattrxref("srcdoc", "iframe")}} dokumentti, tai jos otsikkoinformaatio on saatavilla korkeamman tason protokollasta, nolla tai enemmän metadata elementtejä.<br>
+ Muutoin, yksi tai enemmän metadata elementtejä missä täsmälleen yksi on {{HTMLElement("title")}} elementti.</td>
+ </tr>
+ <tr>
+ <th>Tagin pois jättäminen</th>
+ <td>Aloitusmerkki voidaan jättää pois jos ensimmäinen asia head elementin sisällä on elementti.<br>
+ Päätymerkki voidaan jättää pois jos head elementin jälkeen ensimmäinen asia ei ole välilyönti tai kommentti.</td>
+ </tr>
+ <tr>
+ <th>Sallitut vanhemmat</th>
+ <td>{{HTMLElement("html")}} elementti, jonka ensimmäisenä lapsena.</td>
+ </tr>
+ <tr>
+ <th>Sallitut ARIA roolit</th>
+ <td>Ei mitään.</td>
+ </tr>
+ <tr>
+ <th>DOM rajapinta</th>
+ <td>{{domxref("HTMLHeadElement")}}</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Ominaisuudet">Ominaisuudet</h2>
+
+<p>Tämä elementti sisältää <a href="/en-US/docs/Web/HTML/Global_attributes">globaalit ominaisuudet</a>.</p>
+
+<dl>
+ <dt>{{htmlattrdef("profile")}} {{obsolete_inline}}</dt>
+ <dd>Metadata profiilien URI osoitteet välilyöntien erottamana.</dd>
+</dl>
+
+<h2 id="Esimerkki">Esimerkki</h2>
+
+<pre class="brush: html">&lt;html&gt;
+ &lt;head&gt;
+ &lt;title&gt;Dokumentin otsikko&lt;/title&gt;
+ &lt;/head&gt;
+&lt;/html&gt;
+</pre>
+
+<h2 id="Huomatukset">Huomatukset</h2>
+
+<p>Modernit, HTML5-yhteensopivat selaimet automaattisesti rakentavat <code>&lt;head&gt;</code> elementin jos tagit on jätetty merkitsemättä. <a class="external" href="https://www.stevesouders.com/blog/2010/05/12/autohead-my-first-browserscope-user-test/">Tätä käytöstä ei voida taata muinaisissa selaimissa</a>.</p>
+
+<h2 id="Tekniset_tiedot">Tekniset tiedot</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Määrittely</th>
+ <th scope="col">Tila</th>
+ <th scope="col">Kommentti</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', 'semantics.html#the-head-element', '&lt;head&gt;')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td>Ei muutosta viimeisestä snapshotista</td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML5 W3C', 'document-metadata.html#the-head-element', '&lt;head&gt;')}}</td>
+ <td>{{Spec2('HTML5 W3C')}}</td>
+ <td>Käytöstä poistettiin <code>profile</code></td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML4.01', 'struct/global.html#h-7.4.1', '&lt;head&gt;')}}</td>
+ <td>{{Spec2('HTML4.01')}}</td>
+ <td> </td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Selainyhteensopivuus">Selainyhteensopivuus</h2>
+
+<p class="hidden">The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> and send us a pull request.</p>
+
+<p>{{Compat("html.elements.head")}}</p>
+
+<h2 id="Katso_myös">Katso myös</h2>
+
+<ul>
+ <li>Elementit joita voidaan käyttää <code>&lt;head&gt;</code> elementin sisällä: {{HTMLElement("title")}}, {{HTMLElement("base")}}, {{HTMLElement("link")}}, {{HTMLElement("style")}}, {{HTMLElement("meta")}}, {{HTMLElement("script")}}, {{HTMLElement("noscript")}}, {{HTMLElement("template")}}</li>
+</ul>