HtmlTextWriterTag HtmlTextWriterTag HtmlTextWriterTag HtmlTextWriterTag Enum

Definición

Especifica las etiquetas HTML que se pueden pasar a un flujo de salida de un objeto HtmlTextWriter o Html32TextWriter.Specifies the HTML tags that can be passed to an HtmlTextWriter or Html32TextWriter object output stream.

public enum class HtmlTextWriterTag
public enum HtmlTextWriterTag
type HtmlTextWriterTag = 
Public Enum HtmlTextWriterTag
Herencia
HtmlTextWriterTagHtmlTextWriterTagHtmlTextWriterTagHtmlTextWriterTag

Campos

A A A A 1

Elemento a de HTML.The HTML a element.

Acronym Acronym Acronym Acronym 2

Elemento acronym de HTML.The HTML acronym element.

Address Address Address Address 3

Elemento address de HTML.The HTML address element.

Area Area Area Area 4

Elemento area de HTML.The HTML area element.

B B B B 5

Elemento b de HTML.The HTML b element.

Base Base Base Base 6

Elemento base de HTML.The HTML base element.

Basefont Basefont Basefont Basefont 7

Elemento basefont de HTML.The HTML basefont element.

Bdo Bdo Bdo Bdo 8

Elemento bdo de HTML.The HTML bdo element.

Bgsound Bgsound Bgsound Bgsound 9

Elemento bgsound de HTML.The HTML bgsound element.

Big Big Big Big 10

Elemento big de HTML.The HTML big element.

Blockquote Blockquote Blockquote Blockquote 11

Elemento blockquote de HTML.The HTML blockquote element.

Body Body Body Body 12

Elemento body de HTML.The HTML body element.

Br Br Br Br 13

Elemento br de HTML.The HTML br element.

Button Button Button Button 14

Elemento button de HTML.The HTML button element.

Caption Caption Caption Caption 15

Elemento caption de HTML.The HTML caption element.

Center Center Center Center 16

Elemento center de HTML.The HTML center element.

Cite Cite Cite Cite 17

Elemento cite de HTML.The HTML cite element.

Code Code Code Code 18

Elemento code de HTML.The HTML code element.

Col Col Col Col 19

Elemento col de HTML.The HTML col element.

Colgroup Colgroup Colgroup Colgroup 20

Elemento colgroup de HTML.The HTML colgroup element.

Dd Dd Dd Dd 21

Elemento dd de HTML.The HTML dd element.

Del Del Del Del 22

Elemento del de HTML.The HTML del element.

Dfn Dfn Dfn Dfn 23

Elemento dfn de HTML.The HTML dfn element.

Dir Dir Dir Dir 24

Elemento dir de HTML.The HTML dir element.

Div Div Div Div 25

Elemento div de HTML.The HTML div element.

Dl Dl Dl Dl 26

Elemento dl de HTML.The HTML dl element.

Dt Dt Dt Dt 27

Elemento dt de HTML.The HTML dt element.

Em Em Em Em 28

Elemento em de HTML.The HTML em element.

Embed Embed Embed Embed 29

Elemento embed de HTML.The HTML embed element.

Fieldset Fieldset Fieldset Fieldset 30

Elemento fieldset de HTML.The HTML fieldset element.

Font Font Font Font 31

Elemento font de HTML.The HTML font element.

Form Form Form Form 32

Elemento form de HTML.The HTML form element.

Frame Frame Frame Frame 33

Elemento frame de HTML.The HTML frame element.

Frameset Frameset Frameset Frameset 34

Elemento frameset de HTML.The HTML frameset element.

H1 H1 H1 H1 35

Elemento H1 de HTML.The HTML H1 element.

H2 H2 H2 H2 36

Elemento H2 de HTML.The HTML H2 element.

H3 H3 H3 H3 37

Elemento H3 de HTML.The HTML H3 element.

H4 H4 H4 H4 38

Elemento H4 de HTML.The HTML H4 element.

H5 H5 H5 H5 39

Elemento H5 de HTML.The HTML H5 element.

H6 H6 H6 H6 40

Elemento H6 de HTML.The HTML H6 element.

Head Head Head Head 41

Elemento head de HTML.The HTML head element.

Hr Hr Hr Hr 42

Elemento hr de HTML.The HTML hr element.

Html Html Html Html 43

Elemento html de HTML.The HTML html element.

I I I I 44

Elemento i de HTML.The HTML i element.

Iframe Iframe Iframe Iframe 45

Elemento iframe de HTML.The HTML iframe element.

Img Img Img Img 46

Elemento img de HTML.The HTML img element.

Input Input Input Input 47

Elemento input de HTML.The HTML input element.

Ins Ins Ins Ins 48

Elemento ins de HTML.The HTML ins element.

Isindex Isindex Isindex Isindex 49

Elemento isindex de HTML.The HTML isindex element.

Kbd Kbd Kbd Kbd 50

Elemento kbd de HTML.The HTML kbd element.

Label Label Label Label 51

Elemento label de HTML.The HTML label element.

Legend Legend Legend Legend 52

Elemento legend de HTML.The HTML legend element.

Li Li Li Li 53

Elemento li de HTML.The HTML li element.

54

Elemento link de HTML.The HTML link element.

Map Map Map Map 55

Elemento map de HTML.The HTML map element.

Marquee Marquee Marquee Marquee 56

Elemento marquee de HTML.The HTML marquee element.

Menu Menu Menu Menu 57

Elemento menu de HTML.The HTML menu element.

Meta Meta Meta Meta 58

Elemento meta de HTML.The HTML meta element.

Nobr Nobr Nobr Nobr 59

Elemento nobr de HTML.The HTML nobr element.

Noframes Noframes Noframes Noframes 60

Elemento noframes de HTML.The HTML noframes element.

Noscript Noscript Noscript Noscript 61

Elemento noscript de HTML.The HTML noscript element.

Object Object Object Object 62

Elemento object de HTML.The HTML object element.

Ol Ol Ol Ol 63

Elemento ol de HTML.The HTML ol element.

Option Option Option Option 64

Elemento option de HTML.The HTML option element.

P P P P 65

Elemento p de HTML.The HTML p element.

Param Param Param Param 66

Elemento param de HTML.The HTML param element.

Pre Pre Pre Pre 67

Elemento pre de HTML.The HTML pre element.

Q Q Q Q 68

Elemento q de HTML.The HTML q element.

Rt Rt Rt Rt 69

El elemento rt de DHTML, que especifica texto para el elemento ruby.The DHTML rt element, which specifies text for the ruby element.

Ruby Ruby Ruby Ruby 70

El elemento ruby de DHTML.The DHTML ruby element.

S S S S 71

Elemento s de HTML.The HTML s element.

Samp Samp Samp Samp 72

Elemento samp de HTML.The HTML samp element.

Script Script Script Script 73

Elemento script de HTML.The HTML script element.

Select Select Select Select 74

Elemento select de HTML.The HTML select element.

Small Small Small Small 75

Elemento small de HTML.The HTML small element.

Span Span Span Span 76

Elemento span de HTML.The HTML span element.

Strike Strike Strike Strike 77

Elemento strike de HTML.The HTML strike element.

Strong Strong Strong Strong 78

Elemento strong de HTML.The HTML strong element.

Style Style Style Style 79

Elemento style de HTML.The HTML style element.

Sub Sub Sub Sub 80

Elemento sub de HTML.The HTML sub element.

Sup Sup Sup Sup 81

Elemento sup de HTML.The HTML sup element.

Table Table Table Table 82

Elemento table de HTML.The HTML table element.

Tbody Tbody Tbody Tbody 83

Elemento tbody de HTML.The HTML tbody element.

Td Td Td Td 84

Elemento td de HTML.The HTML td element.

Textarea Textarea Textarea Textarea 85

Elemento textarea de HTML.The HTML textarea element.

Tfoot Tfoot Tfoot Tfoot 86

Elemento tfoot de HTML.The HTML tfoot element.

Th Th Th Th 87

Elemento th de HTML.The HTML th element.

Thead Thead Thead Thead 88

Elemento thead de HTML.The HTML thead element.

Title Title Title Title 89

Elemento title de HTML.The HTML title element.

Tr Tr Tr Tr 90

Elemento tr de HTML.The HTML tr element.

Tt Tt Tt Tt 91

Elemento tt de HTML.The HTML tt element.

U U U U 92

Elemento u de HTML.The HTML u element.

Ul Ul Ul Ul 93

Elemento ul de HTML.The HTML ul element.

Unknown Unknown Unknown Unknown 0

No se reconoce la cadena pasada como etiqueta HTML.The string passed as an HTML tag is not recognized.

Var Var Var Var 94

Elemento var de HTML.The HTML var element.

Wbr Wbr Wbr Wbr 95

Elemento wbr de HTML.The HTML wbr element.

Xml Xml Xml Xml 96

Elemento xml de HTML.The HTML xml element.

Ejemplos

En el siguiente ejemplo se muestra el uso HtmlTextWriterTag de la enumeración.The following example demonstrates the use of the HtmlTextWriterTag enumeration. El Img campo se usa durante la representación de un HtmlTextWriter denominado writer.The Img field is used during rendering of an HtmlTextWriter named writer.

// Control the encoding of attributes.
// Simple known values do not need encoding.
writer->AddAttribute( HtmlTextWriterAttribute::Alt, "Encoding, \"Required\"", true );
writer->AddAttribute( "myattribute", "No "encoding " required", false );
writer->RenderBeginTag( HtmlTextWriterTag::Img );
writer->RenderEndTag();
writer->WriteLine();
// Control the encoding of attributes. 
// Simple known values do not need encoding.
writer.AddAttribute(HtmlTextWriterAttribute.Alt, "Encoding, \"Required\"", true);
writer.AddAttribute("myattribute", "No "encoding " required", false);
writer.RenderBeginTag(HtmlTextWriterTag.Img);
writer.RenderEndTag();
writer.WriteLine();
' Control the encoding of attributes.
' Simple known values do not need encoding.
writer.AddAttribute(HtmlTextWriterAttribute.Alt, "Encoding, ""Required""", True)
writer.AddAttribute("myattribute", "No "encoding " required", False)
writer.RenderBeginTag(HtmlTextWriterTag.Img)
writer.RenderEndTag()
writer.WriteLine()

Comentarios

La HtmlTextWriterTag enumeración permite que el flujo de salida escriba el marcado HTML, junto con los controles de servidor HTML, en respuesta a una solicitud Web.The HtmlTextWriterTag enumeration allows the output stream to write HTML markup, along with HTML server controls, in response to a web request.

Se aplica a

Consulte también: