HtmlTextWriterTag Enumeration

Definition

Gibt die HTML-Tags an, die an den Ausgabestream eines HtmlTextWriter-Objekts oder eines Html32TextWriter-Objekts übergeben werden können.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
Vererbung
HtmlTextWriterTag

Felder

A 1

Das HTML-Element a.The HTML a element.

Acronym 2

Das HTML-Element acronym.The HTML acronym element.

Address 3

Das HTML-Element address.The HTML address element.

Area 4

Das HTML-Element area.The HTML area element.

B 5

Das HTML-Element b.The HTML b element.

Base 6

Das HTML-Element base.The HTML base element.

Basefont 7

Das HTML-Element basefont.The HTML basefont element.

Bdo 8

Das HTML-Element bdo.The HTML bdo element.

Bgsound 9

Das HTML-Element bgsound.The HTML bgsound element.

Big 10

Das HTML-Element big.The HTML big element.

Blockquote 11

Das HTML-Element blockquote.The HTML blockquote element.

Body 12

Das HTML-Element body.The HTML body element.

Br 13

Das HTML-Element br.The HTML br element.

Button 14

Das HTML-Element button.The HTML button element.

Caption 15

Das HTML-Element caption.The HTML caption element.

Center 16

Das HTML-Element center.The HTML center element.

Cite 17

Das HTML-Element cite.The HTML cite element.

Code 18

Das HTML-Element code.The HTML code element.

Col 19

Das HTML-Element col.The HTML col element.

Colgroup 20

Das HTML-Element colgroup.The HTML colgroup element.

Dd 21

Das HTML-Element dd.The HTML dd element.

Del 22

Das HTML-Element del.The HTML del element.

Dfn 23

Das HTML-Element dfn.The HTML dfn element.

Dir 24

Das HTML-Element dir.The HTML dir element.

Div 25

Das HTML-Element div.The HTML div element.

Dl 26

Das HTML-Element dl.The HTML dl element.

Dt 27

Das HTML-Element dt.The HTML dt element.

Em 28

Das HTML-Element em.The HTML em element.

Embed 29

Das HTML-Element embed.The HTML embed element.

Fieldset 30

Das HTML-Element fieldset.The HTML fieldset element.

Font 31

Das HTML-Element font.The HTML font element.

Form 32

Das HTML-Element form.The HTML form element.

Frame 33

Das HTML-Element frame.The HTML frame element.

Frameset 34

Das HTML-Element frameset.The HTML frameset element.

H1 35

Das HTML-Element H1.The HTML H1 element.

H2 36

Das HTML-Element H2.The HTML H2 element.

H3 37

Das HTML-Element H3.The HTML H3 element.

H4 38

Das HTML-Element H4.The HTML H4 element.

H5 39

Das HTML-Element H5.The HTML H5 element.

H6 40

Das HTML-Element H6.The HTML H6 element.

Head 41

Das HTML-Element head.The HTML head element.

Hr 42

Das HTML-Element hr.The HTML hr element.

Html 43

Das HTML-Element html.The HTML html element.

I 44

Das HTML-Element i.The HTML i element.

Iframe 45

Das HTML-Element iframe.The HTML iframe element.

Img 46

Das HTML-Element img.The HTML img element.

Input 47

Das HTML-Element input.The HTML input element.

Ins 48

Das HTML-Element ins.The HTML ins element.

Isindex 49

Das HTML-Element isindex.The HTML isindex element.

Kbd 50

Das HTML-Element kbd.The HTML kbd element.

Label 51

Das HTML-Element label.The HTML label element.

Legend 52

Das HTML-Element legend.The HTML legend element.

Li 53

Das HTML-Element li.The HTML li element.

54

Das HTML-Element link.The HTML link element.

Map 55

Das HTML-Element map.The HTML map element.

Marquee 56

Das HTML-Element marquee.The HTML marquee element.

Menu 57

Das HTML-Element menu.The HTML menu element.

Meta 58

Das HTML-Element meta.The HTML meta element.

Nobr 59

Das HTML-Element nobr.The HTML nobr element.

Noframes 60

Das HTML-Element noframes.The HTML noframes element.

Noscript 61

Das HTML-Element noscript.The HTML noscript element.

Object 62

Das HTML-Element object.The HTML object element.

Ol 63

Das HTML-Element ol.The HTML ol element.

Option 64

Das HTML-Element option.The HTML option element.

P 65

Das HTML-Element p.The HTML p element.

Param 66

Das HTML-Element param.The HTML param element.

Pre 67

Das HTML-Element pre.The HTML pre element.

Q 68

Das HTML-Element q.The HTML q element.

Rt 69

Das DHTML-Element rt, das den Text für das Element ruby angibt.The DHTML rt element, which specifies text for the ruby element.

Ruby 70

Das DHTML-Element ruby.The DHTML ruby element.

S 71

Das HTML-Element s.The HTML s element.

Samp 72

Das HTML-Element samp.The HTML samp element.

Script 73

Das HTML-Element script.The HTML script element.

Select 74

Das HTML-Element select.The HTML select element.

Small 75

Das HTML-Element small.The HTML small element.

Span 76

Das HTML-Element span.The HTML span element.

Strike 77

Das HTML-Element strike.The HTML strike element.

Strong 78

Das HTML-Element strong.The HTML strong element.

Style 79

Das HTML-Element style.The HTML style element.

Sub 80

Das HTML-Element sub.The HTML sub element.

Sup 81

Das HTML-Element sup.The HTML sup element.

Table 82

Das HTML-Element table.The HTML table element.

Tbody 83

Das HTML-Element tbody.The HTML tbody element.

Td 84

Das HTML-Element td.The HTML td element.

Textarea 85

Das HTML-Element textarea.The HTML textarea element.

Tfoot 86

Das HTML-Element tfoot.The HTML tfoot element.

Th 87

Das HTML-Element th.The HTML th element.

Thead 88

Das HTML-Element thead.The HTML thead element.

Title 89

Das HTML-Element title.The HTML title element.

Tr 90

Das HTML-Element tr.The HTML tr element.

Tt 91

Das HTML-Element tt.The HTML tt element.

U 92

Das HTML-Element u.The HTML u element.

Ul 93

Das HTML-Element ul.The HTML ul element.

Unknown 0

Die als HTML-Tag übergebene Zeichenfolge wird nicht erkannt.The string passed as an HTML tag is not recognized.

Var 94

Das HTML-Element var.The HTML var element.

Wbr 95

Das HTML-Element wbr.The HTML wbr element.

Xml 96

Das HTML-Element xml.The HTML xml element.

Beispiele

Im folgenden Beispiel wird die Verwendung HtmlTextWriterTag der-Enumeration veranschaulicht.The following example demonstrates the use of the HtmlTextWriterTag enumeration. Das Img -Feld wird beim Rendern HtmlTextWriter eines namens writerverwendet.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()

Hinweise

Die HtmlTextWriterTag -Enumeration ermöglicht dem Ausgabestream das Schreiben von HTML-Markup zusammen mit HTML-Server Steuerelementen als Reaktion auf eine Webanforderung.The HtmlTextWriterTag enumeration allows the output stream to write HTML markup, along with HTML server controls, in response to a web request.

Gilt für:

Siehe auch