HtmlTextWriterTag HtmlTextWriterTag HtmlTextWriterTag HtmlTextWriterTag Enum

Definizione

Specifica i tag HTML che possono essere passati al flusso di output di un oggetto HtmlTextWriter oppure 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
Ereditarietà
HtmlTextWriterTagHtmlTextWriterTagHtmlTextWriterTagHtmlTextWriterTag

Campi

A A A A 1

Elemento HTML a.The HTML a element.

Acronym Acronym Acronym Acronym 2

Elemento HTML acronym.The HTML acronym element.

Address Address Address Address 3

Elemento HTML address.The HTML address element.

Area Area Area Area 4

Elemento HTML area.The HTML area element.

B B B B 5

Elemento HTML b.The HTML b element.

Base Base Base Base 6

Elemento HTML base.The HTML base element.

Basefont Basefont Basefont Basefont 7

Elemento HTML basefont.The HTML basefont element.

Bdo Bdo Bdo Bdo 8

Elemento HTML bdo.The HTML bdo element.

Bgsound Bgsound Bgsound Bgsound 9

Elemento HTML bgsound.The HTML bgsound element.

Big Big Big Big 10

Elemento HTML big.The HTML big element.

Blockquote Blockquote Blockquote Blockquote 11

Elemento HTML blockquote.The HTML blockquote element.

Body Body Body Body 12

Elemento HTML body.The HTML body element.

Br Br Br Br 13

Elemento HTML br.The HTML br element.

Button Button Button Button 14

Elemento HTML button.The HTML button element.

Caption Caption Caption Caption 15

Elemento HTML caption.The HTML caption element.

Center Center Center Center 16

Elemento HTML center.The HTML center element.

Cite Cite Cite Cite 17

Elemento HTML cite.The HTML cite element.

Code Code Code Code 18

Elemento HTML code.The HTML code element.

Col Col Col Col 19

Elemento HTML col.The HTML col element.

Colgroup Colgroup Colgroup Colgroup 20

Elemento HTML colgroup.The HTML colgroup element.

Dd Dd Dd Dd 21

Elemento HTML dd.The HTML dd element.

Del Del Del Del 22

Elemento HTML del.The HTML del element.

Dfn Dfn Dfn Dfn 23

Elemento HTML dfn.The HTML dfn element.

Dir Dir Dir Dir 24

Elemento HTML dir.The HTML dir element.

Div Div Div Div 25

Elemento HTML div.The HTML div element.

Dl Dl Dl Dl 26

Elemento HTML dl.The HTML dl element.

Dt Dt Dt Dt 27

Elemento HTML dt.The HTML dt element.

Em Em Em Em 28

Elemento HTML em.The HTML em element.

Embed Embed Embed Embed 29

Elemento HTML embed.The HTML embed element.

Fieldset Fieldset Fieldset Fieldset 30

Elemento HTML fieldset.The HTML fieldset element.

Font Font Font Font 31

Elemento HTML font.The HTML font element.

Form Form Form Form 32

Elemento HTML form.The HTML form element.

Frame Frame Frame Frame 33

Elemento HTML frame.The HTML frame element.

Frameset Frameset Frameset Frameset 34

Elemento HTML frameset.The HTML frameset element.

H1 H1 H1 H1 35

Elemento HTML H1.The HTML H1 element.

H2 H2 H2 H2 36

Elemento HTML H2.The HTML H2 element.

H3 H3 H3 H3 37

Elemento HTML H3.The HTML H3 element.

H4 H4 H4 H4 38

Elemento HTML H4.The HTML H4 element.

H5 H5 H5 H5 39

Elemento HTML H5.The HTML H5 element.

H6 H6 H6 H6 40

Elemento HTML H6.The HTML H6 element.

Head Head Head Head 41

Elemento HTML head.The HTML head element.

Hr Hr Hr Hr 42

Elemento HTML hr.The HTML hr element.

Html Html Html Html 43

Elemento HTML html.The HTML html element.

I I I I 44

Elemento HTML i.The HTML i element.

Iframe Iframe Iframe Iframe 45

Elemento HTML iframe.The HTML iframe element.

Img Img Img Img 46

Elemento HTML img.The HTML img element.

Input Input Input Input 47

Elemento HTML input.The HTML input element.

Ins Ins Ins Ins 48

Elemento HTML ins.The HTML ins element.

Isindex Isindex Isindex Isindex 49

Elemento HTML isindex.The HTML isindex element.

Kbd Kbd Kbd Kbd 50

Elemento HTML kbd.The HTML kbd element.

Label Label Label Label 51

Elemento HTML label.The HTML label element.

Legend Legend Legend Legend 52

Elemento HTML legend.The HTML legend element.

Li Li Li Li 53

Elemento HTML li.The HTML li element.

54

Elemento HTML link.The HTML link element.

Map Map Map Map 55

Elemento HTML map.The HTML map element.

Marquee Marquee Marquee Marquee 56

Elemento HTML marquee.The HTML marquee element.

Menu Menu Menu Menu 57

Elemento HTML menu.The HTML menu element.

Meta Meta Meta Meta 58

Elemento HTML meta.The HTML meta element.

Nobr Nobr Nobr Nobr 59

Elemento HTML nobr.The HTML nobr element.

Noframes Noframes Noframes Noframes 60

Elemento HTML noframes.The HTML noframes element.

Noscript Noscript Noscript Noscript 61

Elemento HTML noscript.The HTML noscript element.

Object Object Object Object 62

Elemento HTML object.The HTML object element.

Ol Ol Ol Ol 63

Elemento HTML ol.The HTML ol element.

Option Option Option Option 64

Elemento HTML option.The HTML option element.

P P P P 65

Elemento HTML p.The HTML p element.

Param Param Param Param 66

Elemento HTML param.The HTML param element.

Pre Pre Pre Pre 67

Elemento HTML pre.The HTML pre element.

Q Q Q Q 68

Elemento HTML q.The HTML q element.

Rt Rt Rt Rt 69

Elemento DHTML rt, che specifica il testo dell'elemento ruby.The DHTML rt element, which specifies text for the ruby element.

Ruby Ruby Ruby Ruby 70

Elemento DHTML ruby.The DHTML ruby element.

S S S S 71

Elemento HTML s.The HTML s element.

Samp Samp Samp Samp 72

Elemento HTML samp.The HTML samp element.

Script Script Script Script 73

Elemento HTML script.The HTML script element.

Select Select Select Select 74

Elemento HTML select.The HTML select element.

Small Small Small Small 75

Elemento HTML small.The HTML small element.

Span Span Span Span 76

Elemento HTML span.The HTML span element.

Strike Strike Strike Strike 77

Elemento HTML strike.The HTML strike element.

Strong Strong Strong Strong 78

Elemento HTML strong.The HTML strong element.

Style Style Style Style 79

Elemento HTML style.The HTML style element.

Sub Sub Sub Sub 80

Elemento HTML sub.The HTML sub element.

Sup Sup Sup Sup 81

Elemento HTML sup.The HTML sup element.

Table Table Table Table 82

Elemento HTML table.The HTML table element.

Tbody Tbody Tbody Tbody 83

Elemento HTML tbody.The HTML tbody element.

Td Td Td Td 84

Elemento HTML td.The HTML td element.

Textarea Textarea Textarea Textarea 85

Elemento HTML textarea.The HTML textarea element.

Tfoot Tfoot Tfoot Tfoot 86

Elemento HTML tfoot.The HTML tfoot element.

Th Th Th Th 87

Elemento HTML th.The HTML th element.

Thead Thead Thead Thead 88

Elemento HTML thead.The HTML thead element.

Title Title Title Title 89

Elemento HTML title.The HTML title element.

Tr Tr Tr Tr 90

Elemento HTML tr.The HTML tr element.

Tt Tt Tt Tt 91

Elemento HTML tt.The HTML tt element.

U U U U 92

Elemento HTML u.The HTML u element.

Ul Ul Ul Ul 93

Elemento HTML ul.The HTML ul element.

Unknown Unknown Unknown Unknown 0

La stringa passata come tag HTML non è riconosciuta.The string passed as an HTML tag is not recognized.

Var Var Var Var 94

Elemento HTML var.The HTML var element.

Wbr Wbr Wbr Wbr 95

Elemento HTML wbr.The HTML wbr element.

Xml Xml Xml Xml 96

Elemento HTML xml.The HTML xml element.

Esempi

Nell'esempio seguente viene illustrato l'utilizzo dell' HtmlTextWriterTag enumerazione.The following example demonstrates the use of the HtmlTextWriterTag enumeration. Il Img campo viene utilizzato durante il rendering di HtmlTextWriter un writeroggetto denominato.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()

Commenti

L' HtmlTextWriterTag enumerazione consente al flusso di output di scrivere markup HTML, insieme ai controlli server HTML, in risposta a una richiesta Web.The HtmlTextWriterTag enumeration allows the output stream to write HTML markup, along with HTML server controls, in response to a web request.

Si applica a

Vedi anche