HTML çevirme Özelliği
Örnek
Bazı öğelerin çevrilmemesi gerektiğini belirtin:
<p translate="no">Don't translate this!</p>
<p>This can be translated to any language.</p>
Tanım ve Kullanım
Öznitelik , translate
bir öğenin içeriğinin çevrilmesi gerekip gerekmediğini belirtir.
Test: Başka bir dile geçmek için Google çeviri resmine (sayfanın üst kısmındaki arama düğmesinin yanında) tıklayın ve aşağıdaki "dondurma" kelimesine ne olduğuna bakın:
Burada translate="no" kullanıyoruz:ice cream.
Tarayıcı Desteği
Attribute | |||||
---|---|---|---|---|---|
translate | Not supported | Not supported | Not supported | Not supported | Not supported |
Sözdizimi
<element translate="yes|no">
Özellik Değerleri
Value | Description |
---|---|
yes | Specifies that the content of the element should be translated |
no | Specifies that the content of the element must not be translated |
İlgili Sayfalar
HTML Eğitimi: HTML Nitelikleri