XhtmlTextWriter.ElementSpecificAttributes Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan objek yang Hashtable berisi atribut khusus elemen.
protected:
property System::Collections::Hashtable ^ ElementSpecificAttributes { System::Collections::Hashtable ^ get(); };
protected System.Collections.Hashtable ElementSpecificAttributes { get; }
member this.ElementSpecificAttributes : System.Collections.Hashtable
Protected ReadOnly Property ElementSpecificAttributes As Hashtable
Nilai Properti
Objek Hashtable yang berisi atribut khusus elemen.
Keterangan
AddRecognizedAttribute Gunakan metode untuk menambahkan atribut yang dikenali ke elemen XHTML. Untuk menghapus atribut umum pada elemen XHTML, gunakan metode .RemoveRecognizedAttribute
Saat instans XhtmlTextWriter baru kelas dibuat, Hashtable objek atribut khusus elemen diisi dengan atribut yang ditampilkan dalam tabel berikut.
| Elemen | Atribut |
|---|---|
<a> |
accesskey, , charsethref, hreflang, rel, type, rev, , title,tabindex |
<base> |
href |
<blockquote> |
cite |
<br> |
id, , classtitle |
<form> |
action, , methodenctype |
<head> |
xml:lang |
<html> |
version, , xml:langxmlns |
<img> |
src, , altwidth, , longdesc,height |
<input> |
size
accesskey
title
name
type
disabled
value
src
checked
maxlength
tabindex
|
<label> |
accesskey, for |
<li> |
value |
<link> |
hreflang, , revtype, charset, rel, , href,media |
<meta> |
content, , namexml:lang, , http-equiv,scheme |
<object> |
codebase, , dataclassid, standby, name, type, height, archive, declare, , width, , tabindexcodetype |
<ol> |
start |
<optgroup> |
label, disabled |
<option> |
selected, value |
<param> |
id, , namevaluetype, , value,type |
<pre> |
xml:space |
<q> |
cite |
<select> |
name, , tabindexdisabled, , multiple,size |
<style> |
xml:lang, , xml:spacetype, , title,media |
<table> |
width, summary |
<textarea> |
name, , colsaccesskey, , tabindex,rows |
<td> |
headers, , rowspanalign, colspan, axis, scope, , abbr,valign |
<th> |
headers, , rowspanalign, colspan, axis, scope, , abbr,valign |
<title> |
xml:lang |
<tr> |
align, valign |
Untuk informasi selengkapnya tentang elemen dan gaya yang dirender, lihat spesifikasi modularisasi XHTML di situs Web World Wide Web Consortium (W3C).