HtmlTextWriterTag HtmlTextWriterTag HtmlTextWriterTag HtmlTextWriterTag Enum

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
HtmlTextWriterTagHtmlTextWriterTagHtmlTextWriterTagHtmlTextWriterTag

Felder

A A A A 1

Das HTML-Element a.The HTML a element.

Acronym Acronym Acronym Acronym 2

Das HTML-Element acronym.The HTML acronym element.

Address Address Address Address 3

Das HTML-Element address.The HTML address element.

Area Area Area Area 4

Das HTML-Element area.The HTML area element.

B B B B 5

Das HTML-Element b.The HTML b element.

Base Base Base Base 6

Das HTML-Element base.The HTML base element.

Basefont Basefont Basefont Basefont 7

Das HTML-Element basefont.The HTML basefont element.

Bdo Bdo Bdo Bdo 8

Das HTML-Element bdo.The HTML bdo element.

Bgsound Bgsound Bgsound Bgsound 9

Das HTML-Element bgsound.The HTML bgsound element.

Big Big Big Big 10

Das HTML-Element big.The HTML big element.

Blockquote Blockquote Blockquote Blockquote 11

Das HTML-Element blockquote.The HTML blockquote element.

Body Body Body Body 12

Das HTML-Element body.The HTML body element.

Br Br Br Br 13

Das HTML-Element br.The HTML br element.

Button Button Button Button 14

Das HTML-Element button.The HTML button element.

Caption Caption Caption Caption 15

Das HTML-Element caption.The HTML caption element.

Center Center Center Center 16

Das HTML-Element center.The HTML center element.

Cite Cite Cite Cite 17

Das HTML-Element cite.The HTML cite element.

Code Code Code Code 18

Das HTML-Element code.The HTML code element.

Col Col Col Col 19

Das HTML-Element col.The HTML col element.

Colgroup Colgroup Colgroup Colgroup 20

Das HTML-Element colgroup.The HTML colgroup element.

Dd Dd Dd Dd 21

Das HTML-Element dd.The HTML dd element.

Del Del Del Del 22

Das HTML-Element del.The HTML del element.

Dfn Dfn Dfn Dfn 23

Das HTML-Element dfn.The HTML dfn element.

Dir Dir Dir Dir 24

Das HTML-Element dir.The HTML dir element.

Div Div Div Div 25

Das HTML-Element div.The HTML div element.

Dl Dl Dl Dl 26

Das HTML-Element dl.The HTML dl element.

Dt Dt Dt Dt 27

Das HTML-Element dt.The HTML dt element.

Em Em Em Em 28

Das HTML-Element em.The HTML em element.

Embed Embed Embed Embed 29

Das HTML-Element embed.The HTML embed element.

Fieldset Fieldset Fieldset Fieldset 30

Das HTML-Element fieldset.The HTML fieldset element.

Font Font Font Font 31

Das HTML-Element font.The HTML font element.

Form Form Form Form 32

Das HTML-Element form.The HTML form element.

Frame Frame Frame Frame 33

Das HTML-Element frame.The HTML frame element.

Frameset Frameset Frameset Frameset 34

Das HTML-Element frameset.The HTML frameset element.

H1 H1 H1 H1 35

Das HTML-Element H1.The HTML H1 element.

H2 H2 H2 H2 36

Das HTML-Element H2.The HTML H2 element.

H3 H3 H3 H3 37

Das HTML-Element H3.The HTML H3 element.

H4 H4 H4 H4 38

Das HTML-Element H4.The HTML H4 element.

H5 H5 H5 H5 39

Das HTML-Element H5.The HTML H5 element.

H6 H6 H6 H6 40

Das HTML-Element H6.The HTML H6 element.

Head Head Head Head 41

Das HTML-Element head.The HTML head element.

Hr Hr Hr Hr 42

Das HTML-Element hr.The HTML hr element.

Html Html Html Html 43

Das HTML-Element html.The HTML html element.

I I I I 44

Das HTML-Element i.The HTML i element.

Iframe Iframe Iframe Iframe 45

Das HTML-Element iframe.The HTML iframe element.

Img Img Img Img 46

Das HTML-Element img.The HTML img element.

Input Input Input Input 47

Das HTML-Element input.The HTML input element.

Ins Ins Ins Ins 48

Das HTML-Element ins.The HTML ins element.

Isindex Isindex Isindex Isindex 49

Das HTML-Element isindex.The HTML isindex element.

Kbd Kbd Kbd Kbd 50

Das HTML-Element kbd.The HTML kbd element.

Label Label Label Label 51

Das HTML-Element label.The HTML label element.

Legend Legend Legend Legend 52

Das HTML-Element legend.The HTML legend element.

Li Li Li Li 53

Das HTML-Element li.The HTML li element.

54

Das HTML-Element link.The HTML link element.

Map Map Map Map 55

Das HTML-Element map.The HTML map element.

Marquee Marquee Marquee Marquee 56

Das HTML-Element marquee.The HTML marquee element.

Menu Menu Menu Menu 57

Das HTML-Element menu.The HTML menu element.

Meta Meta Meta Meta 58

Das HTML-Element meta.The HTML meta element.

Nobr Nobr Nobr Nobr 59

Das HTML-Element nobr.The HTML nobr element.

Noframes Noframes Noframes Noframes 60

Das HTML-Element noframes.The HTML noframes element.

Noscript Noscript Noscript Noscript 61

Das HTML-Element noscript.The HTML noscript element.

Object Object Object Object 62

Das HTML-Element object.The HTML object element.

Ol Ol Ol Ol 63

Das HTML-Element ol.The HTML ol element.

Option Option Option Option 64

Das HTML-Element option.The HTML option element.

P P P P 65

Das HTML-Element p.The HTML p element.

Param Param Param Param 66

Das HTML-Element param.The HTML param element.

Pre Pre Pre Pre 67

Das HTML-Element pre.The HTML pre element.

Q Q Q Q 68

Das HTML-Element q.The HTML q element.

Rt Rt Rt 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 Ruby Ruby Ruby 70

Das DHTML-Element ruby.The DHTML ruby element.

S S S S 71

Das HTML-Element s.The HTML s element.

Samp Samp Samp Samp 72

Das HTML-Element samp.The HTML samp element.

Script Script Script Script 73

Das HTML-Element script.The HTML script element.

Select Select Select Select 74

Das HTML-Element select.The HTML select element.

Small Small Small Small 75

Das HTML-Element small.The HTML small element.

Span Span Span Span 76

Das HTML-Element span.The HTML span element.

Strike Strike Strike Strike 77

Das HTML-Element strike.The HTML strike element.

Strong Strong Strong Strong 78

Das HTML-Element strong.The HTML strong element.

Style Style Style Style 79

Das HTML-Element style.The HTML style element.

Sub Sub Sub Sub 80

Das HTML-Element sub.The HTML sub element.

Sup Sup Sup Sup 81

Das HTML-Element sup.The HTML sup element.

Table Table Table Table 82

Das HTML-Element table.The HTML table element.

Tbody Tbody Tbody Tbody 83

Das HTML-Element tbody.The HTML tbody element.

Td Td Td Td 84

Das HTML-Element td.The HTML td element.

Textarea Textarea Textarea Textarea 85

Das HTML-Element textarea.The HTML textarea element.

Tfoot Tfoot Tfoot Tfoot 86

Das HTML-Element tfoot.The HTML tfoot element.

Th Th Th Th 87

Das HTML-Element th.The HTML th element.

Thead Thead Thead Thead 88

Das HTML-Element thead.The HTML thead element.

Title Title Title Title 89

Das HTML-Element title.The HTML title element.

Tr Tr Tr Tr 90

Das HTML-Element tr.The HTML tr element.

Tt Tt Tt Tt 91

Das HTML-Element tt.The HTML tt element.

U U U U 92

Das HTML-Element u.The HTML u element.

Ul Ul Ul Ul 93

Das HTML-Element ul.The HTML ul element.

Unknown Unknown Unknown Unknown 0

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

Var Var Var Var 94

Das HTML-Element var.The HTML var element.

Wbr Wbr Wbr Wbr 95

Das HTML-Element wbr.The HTML wbr element.

Xml Xml Xml 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