HtmlTextWriterTag Sabit listesi

Tanım

Bir HtmlTextWriter veya Html32TextWriter nesne çıkış akışına geçirilebilen HTML etiketlerini belirtir.

public enum class HtmlTextWriterTag
public enum HtmlTextWriterTag
type HtmlTextWriterTag = 
Public Enum HtmlTextWriterTag
Devralma
HtmlTextWriterTag

Alanlar

A 1

HTML a öğesi.

Acronym 2

HTML acronym öğesi.

Address 3

HTML address öğesi.

Area 4

HTML area öğesi.

B 5

HTML b öğesi.

Base 6

HTML base öğesi.

Basefont 7

HTML basefont öğesi.

Bdo 8

HTML bdo öğesi.

Bgsound 9

HTML bgsound öğesi.

Big 10

HTML big öğesi.

Blockquote 11

HTML blockquote öğesi.

Body 12

HTML body öğesi.

Br 13

HTML br öğesi.

Button 14

HTML button öğesi.

Caption 15

HTML caption öğesi.

Center 16

HTML center öğesi.

Cite 17

HTML cite öğesi.

Code 18

HTML code öğesi.

Col 19

HTML col öğesi.

Colgroup 20

HTML colgroup öğesi.

Dd 21

HTML dd öğesi.

Del 22

HTML del öğesi.

Dfn 23

HTML dfn öğesi.

Dir 24

HTML dir öğesi.

Div 25

HTML div öğesi.

Dl 26

HTML dl öğesi.

Dt 27

HTML dt öğesi.

Em 28

HTML em öğesi.

Embed 29

HTML embed öğesi.

Fieldset 30

HTML fieldset öğesi.

Font 31

HTML font öğesi.

Form 32

HTML form öğesi.

Frame 33

HTML frame öğesi.

Frameset 34

HTML frameset öğesi.

H1 35

HTML H1 öğesi.

H2 36

HTML H2 öğesi.

H3 37

HTML H3 öğesi.

H4 38

HTML H4 öğesi.

H5 39

HTML H5 öğesi.

H6 40

HTML H6 öğesi.

Head 41

HTML head öğesi.

Hr 42

HTML hr öğesi.

Html 43

HTML html öğesi.

I 44

HTML i öğesi.

Iframe 45

HTML iframe öğesi.

Img 46

HTML img öğesi.

Input 47

HTML input öğesi.

Ins 48

HTML ins öğesi.

Isindex 49

HTML isindex öğesi.

Kbd 50

HTML kbd öğesi.

Label 51

HTML label öğesi.

Legend 52

HTML legend öğesi.

Li 53

HTML li öğesi.

54

HTML link öğesi.

Map 55

HTML map öğesi.

Marquee 56

HTML marquee öğesi.

Menu 57

HTML menu öğesi.

Meta 58

HTML meta öğesi.

Nobr 59

HTML nobr öğesi.

Noframes 60

HTML noframes öğesi.

Noscript 61

HTML noscript öğesi.

Object 62

HTML object öğesi.

Ol 63

HTML ol öğesi.

Option 64

HTML option öğesi.

P 65

HTML p öğesi.

Param 66

HTML param öğesi.

Pre 67

HTML pre öğesi.

Q 68

HTML q öğesi.

Rt 69

öğenin metnini ruby belirten DHTML rt öğesi.

Ruby 70

DHTML ruby öğesi.

S 71

HTML s öğesi.

Samp 72

HTML samp öğesi.

Script 73

HTML script öğesi.

Select 74

HTML select öğesi.

Small 75

HTML small öğesi.

Span 76

HTML span öğesi.

Strike 77

HTML strike öğesi.

Strong 78

HTML strong öğesi.

Style 79

HTML style öğesi.

Sub 80

HTML sub öğesi.

Sup 81

HTML sup öğesi.

Table 82

HTML table öğesi.

Tbody 83

HTML tbody öğesi.

Td 84

HTML td öğesi.

Textarea 85

HTML textarea öğesi.

Tfoot 86

HTML tfoot öğesi.

Th 87

HTML th öğesi.

Thead 88

HTML thead öğesi.

Title 89

HTML title öğesi.

Tr 90

HTML tr öğesi.

Tt 91

HTML tt öğesi.

U 92

HTML u öğesi.

Ul 93

HTML ul öğesi.

Unknown 0

HTML etiketi olarak geçirilen dize tanınmıyor.

Var 94

HTML var öğesi.

Wbr 95

HTML wbr öğesi.

Xml 96

HTML xml öğesi.

Örnekler

Aşağıdaki örnekte sabit listesi kullanımı HtmlTextWriterTag gösterilmektedir. alanıImg, adlı writerbir HtmlTextWriter işleme sırasında kullanılır.

// 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()

Açıklamalar

Numaralandırma, HtmlTextWriterTag çıkış akışının bir web isteğine yanıt olarak HTML sunucu denetimleriyle birlikte HTML işaretlemesi yazmasına olanak tanır.

Şunlara uygulanır

Ayrıca bkz.