XhtmlTextWriter.ElementSpecificAttributes Propriedade
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Obtém um objeto Hashtable que contém atributos específicos do elemento.
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
Valor da propriedade
Um Hashtable objeto que contém atributos específicos do elemento.
Comentários
Use o AddRecognizedAttribute método para adicionar atributos reconhecidos a um elemento XHTML. Para remover atributos comuns em um elemento XHTML, use o RemoveRecognizedAttribute método.
Quando uma nova instância da XhtmlTextWriter classe é criada, o Hashtable objeto de atributos específicos do elemento é preenchido com os atributos mostrados na tabela a seguir.
| Elemento | Atributos |
|---|---|
<a> |
accesskey, href, charset, hreflang, rel, type, rev, title, tabindex |
<base> |
href |
<blockquote> |
cite |
<br> |
id, class, title |
<form> |
action, method, enctype |
<head> |
xml:lang |
<html> |
version, xml:lang, xmlns |
<img> |
src, alt, width, longdesc, height |
<input> |
size, accesskey, title, name, type, disabled, value, src, checked, maxlength, tabindex |
<label> |
accesskey, for |
<li> |
value |
<link> |
hreflang, rev, type, charset, rel, href, media |
<meta> |
content, name, xml:lang, http-equiv, scheme |
<object> |
codebase, classid, data, standby, name, type, height, archive, declare, width, tabindex, codetype |
<ol> |
start |
<optgroup> |
label, disabled |
<option> |
selected, value |
<param> |
id, name, valuetype, value, type |
<pre> |
xml:space |
<q> |
cite |
<select> |
name, tabindex, disabled, multiple, size |
<style> |
xml:lang, xml:space, type, title, media |
<table> |
width, summary |
<textarea> |
name, cols, accesskey, tabindex, rows |
<td> |
headers, align, rowspan, colspan, axis, scope, abbr, valign |
<th> |
headers, align, rowspan, colspan, axis, scope, abbr, valign |
<title> |
xml:lang |
<tr> |
align, valign |
Para obter mais informações sobre os elementos e estilos que são renderizados, consulte a especificação de modularização XHTML no site do W3C (World Wide Web Consortium).