{"id":228,"date":"2024-11-08T13:25:59","date_gmt":"2024-11-08T10:25:59","guid":{"rendered":"https:\/\/planeta21vek.ru\/elina732\/deu\/?p=228"},"modified":"2025-11-20T21:13:52","modified_gmt":"2025-11-20T18:13:52","slug":"html-metadaten-mit-beispielen-und-head-inhalten","status":"publish","type":"post","link":"https:\/\/planeta21vek.ru\/elina732\/deu\/2024\/11\/08\/html-metadaten-mit-beispielen-und-head-inhalten\/","title":{"rendered":"HTML-Metadaten mit Beispielen und HEAD-Inhalten"},"content":{"rendered":"<p style=\"text-align: justify;\">Das Meta-Tag enth\u00e4lt Metadaten zum HTML-Dokument. Es kann Informationen wie den Namen des Autors, den Titel des Dokuments, Schl\u00fcsselw\u00f6rter und den Zeichensatz enthalten.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/planeta21vek.ru\/elina732\/deu\/wp-content\/uploads\/2024\/11\/tegi0811241.jpg\"\/><\/p>\n<p style=\"text-align: justify;\">\nAttribute meta:<br \/>\ncharset &#8211; Gibt die Dokumentkodierung an.<br \/>\ncontent &#8211; Legt den Wert eines mit angegebenen Attributs fest name oder http-equiv.<br \/>\nhttp-equiv &#8211; Entwickelt, um Meta-Tags in Titel umzuwandeln HTTP.<br \/>\nname &#8211; Der Name des Meta-Tags legt indirekt auch seinen Zweck fest.\n<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;head&gt;\r\n  &lt;meta charset=&quot;UTF-8&quot;&gt;\r\n  &lt;meta name=&quot;description&quot; content=&quot;Dies ist die Beschreibung der Webseite&quot;&gt;\r\n  &lt;meta name=&quot;keywords&quot; content=&quot;HTML, CSS, JavaScript&quot;&gt;\r\n  &lt;meta name=&quot;author&quot; content=&quot;Iwan Iwanow&quot;&gt;\r\n  &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;\r\n&lt;title&gt;Meine Testseite&lt;\/title&gt;\r\n&lt;\/head&gt;\r\n<\/pre>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;meta name=&quot;twitter:title&quot; content=&quot;MDN Web Docs&quot; \/&gt;\r\n<\/pre>\n<p style=\"text-align: justify;\">Eines der Ergebnisse des Hinzuf\u00fcgens dieser Metadaten ist das Hinzuf\u00fcgen eines Links MDN Web Docs an facebook, es wird mit einem Bild und einer Beschreibung angezeigt, was das Benutzererlebnis verbessert _(User eXperience, UX)_:<\/p>\n\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;meta\r\n  property=&quot;og:image&quot;\r\n  content=&quot;https:\/\/developer.mozilla.org\/mdn-social-share.png&quot; \/&gt;\r\n&lt;meta\r\n  property=&quot;og:description&quot;\r\n  content=&quot;Webdokumentation zu MDN bietet\r\nBietet Informationen zu offenen Webtechnologien, einschlie\u00dflich HTML, CSS und verschiedenen Website-APIs\r\nund progressive Webanwendungen. Die Website enth\u00e4lt auch Materialien f\u00fcr Entwickler zu diesem Thema\r\nMozilla-Produkte wie Developer Tools Firefox.&quot; \/&gt;\r\n&lt;meta property=&quot;og:title&quot; content=&quot;MDN Web Docs&quot; \/&gt;\r\n<\/pre>\n<p style=\"text-align: justify;\">Sie k\u00f6nnen f\u00fcr verschiedene Ger\u00e4te unterschiedliche Symbole festlegen. Zum Beispiel auf der Hauptseite MDN:<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;link rel=&quot;shortcut icon&quot; href=&quot;favicon.ico&quot; type=&quot;image\/x-icon&quot; \/&gt;\r\n&lt;!-- F\u00fcr iPad 3 mit High Definition Retina Display: --&gt;\r\n&lt;link rel=&quot;apple-touch-icon-precomposed&quot; sizes=&quot;144x144&quot; href=&quot;https:\/\/developer.mozilla.org\/static\/img\/favicon144.png&quot; \/&gt;\r\n&lt;!-- F\u00fcr iPhone mit High-Definition-Retina-Display: --&gt;\r\n&lt;link rel=&quot;apple-touch-icon-precomposed&quot; sizes=&quot;114x114&quot; href=&quot;https:\/\/developer.mozilla.org\/static\/img\/favicon114.png&quot; \/&gt;\r\n&lt;!-- F\u00fcr iPad der ersten und zweiten Generation: --&gt;\r\n&lt;link rel=&quot;apple-touch-icon-precomposed&quot; sizes=&quot;72x72&quot; href=&quot;https:\/\/developer.mozilla.org\/static\/img\/favicon72.png&quot; \/&gt;\r\n&lt;!-- F\u00fcr iPhone, iPod Touch ohne Retina und Ger\u00e4te mit Android 2.1+: --&gt;\r\n&lt;link rel=&quot;apple-touch-icon-precomposed&quot; href=&quot;https:\/\/developer.mozilla.org\/static\/img\/favicon57.png&quot; \/&gt;\r\n&lt;!-- In anderen F\u00e4llen - normal favicon --&gt;\r\n&lt;link rel=&quot;shortcut icon&quot; href=&quot;https:\/\/developer.mozilla.org\/static\/img\/favicon32.png&quot; \/&gt;\r\n<\/pre>\n<p style=\"text-align: justify;\">CSS und JavaScript verbinden<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;link rel=&quot;stylesheet&quot; href=&quot;my-css-file.css&quot; \/&gt;\r\n&lt;script src=&quot;my-js-file.js&quot;&gt;&lt;\/script&gt;\r\n<\/pre>\n<p style=\"text-align: justify;\">CSS und JavaScript einbinden<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;script&gt;\r\n..............\r\n&lt;\/script&gt;\r\n&lt;style&gt;\r\n.................\r\n&lt;\/style&gt;\r\n<\/pre>\n<p style=\"text-align: justify;\">Prim\u00e4rsprache der HTML-Seite<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;html lang=&quot;ru&quot;&gt;\r\n&lt;html lang=&quot;en-US&quot;&gt;\r\n<\/pre>\n\n","protected":false},"excerpt":{"rendered":"<p>Das Meta-Tag enth\u00e4lt Metadaten zum HTML-Dokument. Es kann Informationen wie den Namen des Autors, den Titel des Dokuments, Schl\u00fcsselw\u00f6rter und den Zeichensatz enthalten. Attribute meta: charset &#8211; Gibt die Dokumentkodierung an. content &#8211; Legt den Wert eines mit angegebenen Attributs fest name oder http-equiv. http-equiv &#8211; Entwickelt, um Meta-Tags in Titel umzuwandeln HTTP. name &#8211; Der Name des Meta-Tags legt indirekt auch seinen Zweck fest. &lt;head&gt; &lt;meta charset=&quot;UTF-8&quot;&gt; &lt;meta name=&quot;description&quot; content=&quot;Dies ist die Beschreibung der Webseite&quot;&gt; &lt;meta name=&quot;keywords&quot; content=&quot;HTML, CSS, JavaScript&quot;&gt; &lt;meta name=&quot;author&quot; content=&quot;Iwan Iwanow&quot;&gt; &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt; &lt;title&gt;Meine Testseite&lt;\/title&gt; &lt;\/head&gt; &lt;meta name=&quot;twitter:title&quot; content=&quot;MDN Web Docs&quot; \/&gt; Eines der Ergebnisse des Hinzuf\u00fcgens dieser Metadaten ist das Hinzuf\u00fcgen eines Links MDN Web Docs an facebook, es wird mit einem Bild und einer Beschreibung angezeigt, was das Benutzererlebnis verbessert _(User eXperience, UX)_: &lt;meta property=&quot;og:image&quot; content=&quot;https:\/\/developer.mozilla.org\/mdn-social-share.png&quot; \/&gt; &lt;meta property=&quot;og:description&quot; content=&quot;Webdokumentation zu MDN bietet Bietet Informationen zu offenen Webtechnologien, einschlie\u00dflich HTML, CSS und&hellip;<\/p>\n<p> <a class=\"more-link\" href=\"https:\/\/planeta21vek.ru\/elina732\/deu\/2024\/11\/08\/html-metadaten-mit-beispielen-und-head-inhalten\/\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":229,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,7],"tags":[109,13,110],"class_list":{"0":"post-228","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-htmlverstka","8":"category-programmirovanie","9":"tag-head","10":"tag-html","11":"tag-meta"},"_links":{"self":[{"href":"https:\/\/planeta21vek.ru\/elina732\/deu\/wp-json\/wp\/v2\/posts\/228","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/planeta21vek.ru\/elina732\/deu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/planeta21vek.ru\/elina732\/deu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/planeta21vek.ru\/elina732\/deu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/planeta21vek.ru\/elina732\/deu\/wp-json\/wp\/v2\/comments?post=228"}],"version-history":[{"count":2,"href":"https:\/\/planeta21vek.ru\/elina732\/deu\/wp-json\/wp\/v2\/posts\/228\/revisions"}],"predecessor-version":[{"id":276,"href":"https:\/\/planeta21vek.ru\/elina732\/deu\/wp-json\/wp\/v2\/posts\/228\/revisions\/276"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/planeta21vek.ru\/elina732\/deu\/wp-json\/wp\/v2\/media\/229"}],"wp:attachment":[{"href":"https:\/\/planeta21vek.ru\/elina732\/deu\/wp-json\/wp\/v2\/media?parent=228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/planeta21vek.ru\/elina732\/deu\/wp-json\/wp\/v2\/categories?post=228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/planeta21vek.ru\/elina732\/deu\/wp-json\/wp\/v2\/tags?post=228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}