XhtmlTextWriter.ElementSpecificAttributes Vlastnost

Definice

Hashtable Získá objekt obsahující atributy specifické pro element.

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

Hodnota vlastnosti

Objekt Hashtable obsahující atributy specifické pro elementy.

Poznámky

Použijte metodu AddRecognizedAttribute k přidání rozpoznaných atributů do elementu XHTML. Chcete-li odebrat běžné atributy elementu XHTML, použijte metodu RemoveRecognizedAttribute .

Při vytvoření XhtmlTextWriter nové instance Hashtable třídy je objekt atributů specifických pro element naplněn atributy zobrazenými v následující tabulce.

prvek Attributes
<a> accesskey, href, , hreflangtyperevcharsetrel, , titletabindex
<base> href
<blockquote> cite
<br> id, , classtitle
<form> action, , methodenctype
<head> xml:lang
<html> version, , xml:langxmlns
<img> src, alt, width, , longdescheight
<input> size, accesskey, , title, typecheckednamedisabledvaluesrc, maxlengthtabindex
<label> accesskey, for
<li> value
<link> hreflang, rev, type, charset, rel, , hrefmedia
<meta> content, name, xml:lang, , http-equivscheme
<object> codebase, classid, , , namedeclaretypetabindexstandbyheightarchivewidthdatacodetype
<ol> start
<optgroup> label, disabled
<option> selected, value
<param> id, name, valuetype, , valuetype
<pre> xml:space
<q> cite
<select> name, tabindex, disabled, , multiplesize
<style> xml:lang, xml:space, type, , titlemedia
<table> width, summary
<textarea> name, cols, accesskey, , tabindexrows
<td> headers, align, rowspan, , colspanaxis, scope, , abbrvalign
<th> headers, align, rowspan, , colspanaxis, scope, , abbrvalign
<title> xml:lang
<tr> align, valign

Další informace o prvky a styly, které jsou vykresleny, naleznete v XHTML modularizace specifikace na webu World Wide Web Consortium (W3C).

Platí pro

Viz také