HTML DOM Meta Nesnesi
Meta Nesne
Meta nesnesi bir HTML <meta> öğesini temsil eder.
Bir Meta Nesneye Erişin
Bir <meta> öğesine getElementsByTagName() kullanarak erişebilirsiniz:
var x = document.getElementsByTagName("META")[0];
Meta Nesne Oluşturun
Document.createElement() yöntemini kullanarak bir <meta> öğesi oluşturabilirsiniz:
Örnek
var x = document.createElement("META");
Meta Nesne Özellikleri
Property | Description |
---|---|
content | Sets or returns the value of the content attribute of a meta element |
httpEquiv | Sets or returns an HTTP header for the information in the content attribute |
name | Sets or returns a name for the information in the content attribute |
scheme | Not supported in HTML5. Sets or returns how the value of the content attribute should be interpreted |
Standart Özellikler ve Etkinlikler
Meta nesnesi ayrıca standart özellikleri ve olayları da destekler .
İlgili Sayfalar
HTML referansı: HTML <meta> etiketi