HtmlTextWriterTag HtmlTextWriterTag HtmlTextWriterTag HtmlTextWriterTag Enum

Определение

Задает теги HTML, которые могут быть переданы в выходной поток объекта HtmlTextWriter или 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
Наследование
HtmlTextWriterTagHtmlTextWriterTagHtmlTextWriterTagHtmlTextWriterTag

Поля

A A A A 1

HTML-элемент a.The HTML a element.

Acronym Acronym Acronym Acronym 2

HTML-элемент acronym.The HTML acronym element.

Address Address Address Address 3

HTML-элемент address.The HTML address element.

Area Area Area Area 4

HTML-элемент area.The HTML area element.

B B B B 5

HTML-элемент b.The HTML b element.

Base Base Base Base 6

HTML-элемент base.The HTML base element.

Basefont Basefont Basefont Basefont 7

HTML-элемент basefont.The HTML basefont element.

Bdo Bdo Bdo Bdo 8

HTML-элемент bdo.The HTML bdo element.

Bgsound Bgsound Bgsound Bgsound 9

HTML-элемент bgsound.The HTML bgsound element.

Big Big Big Big 10

HTML-элемент big.The HTML big element.

Blockquote Blockquote Blockquote Blockquote 11

HTML-элемент blockquote.The HTML blockquote element.

Body Body Body Body 12

HTML-элемент body.The HTML body element.

Br Br Br Br 13

HTML-элемент br.The HTML br element.

Button Button Button Button 14

HTML-элемент button.The HTML button element.

Caption Caption Caption Caption 15

HTML-элемент caption.The HTML caption element.

Center Center Center Center 16

HTML-элемент center.The HTML center element.

Cite Cite Cite Cite 17

HTML-элемент cite.The HTML cite element.

Code Code Code Code 18

HTML-элемент code.The HTML code element.

Col Col Col Col 19

HTML-элемент col.The HTML col element.

Colgroup Colgroup Colgroup Colgroup 20

HTML-элемент colgroup.The HTML colgroup element.

Dd Dd Dd Dd 21

HTML-элемент dd.The HTML dd element.

Del Del Del Del 22

HTML-элемент del.The HTML del element.

Dfn Dfn Dfn Dfn 23

HTML-элемент dfn.The HTML dfn element.

Dir Dir Dir Dir 24

HTML-элемент dir.The HTML dir element.

Div Div Div Div 25

HTML-элемент div.The HTML div element.

Dl Dl Dl Dl 26

HTML-элемент dl.The HTML dl element.

Dt Dt Dt Dt 27

HTML-элемент dt.The HTML dt element.

Em Em Em Em 28

HTML-элемент em.The HTML em element.

Embed Embed Embed Embed 29

HTML-элемент embed.The HTML embed element.

Fieldset Fieldset Fieldset Fieldset 30

HTML-элемент fieldset.The HTML fieldset element.

Font Font Font Font 31

HTML-элемент font.The HTML font element.

Form Form Form Form 32

HTML-элемент form.The HTML form element.

Frame Frame Frame Frame 33

HTML-элемент frame.The HTML frame element.

Frameset Frameset Frameset Frameset 34

HTML-элемент frameset.The HTML frameset element.

H1 H1 H1 H1 35

HTML-элемент H1.The HTML H1 element.

H2 H2 H2 H2 36

HTML-элемент H2.The HTML H2 element.

H3 H3 H3 H3 37

HTML-элемент H3.The HTML H3 element.

H4 H4 H4 H4 38

HTML-элемент H4.The HTML H4 element.

H5 H5 H5 H5 39

HTML-элемент H5.The HTML H5 element.

H6 H6 H6 H6 40

HTML-элемент H6.The HTML H6 element.

Head Head Head Head 41

HTML-элемент head.The HTML head element.

Hr Hr Hr Hr 42

HTML-элемент hr.The HTML hr element.

Html Html Html Html 43

HTML-элемент html.The HTML html element.

I I I I 44

HTML-элемент i.The HTML i element.

Iframe Iframe Iframe Iframe 45

HTML-элемент iframe.The HTML iframe element.

Img Img Img Img 46

HTML-элемент img.The HTML img element.

Input Input Input Input 47

HTML-элемент input.The HTML input element.

Ins Ins Ins Ins 48

HTML-элемент ins.The HTML ins element.

Isindex Isindex Isindex Isindex 49

HTML-элемент isindex.The HTML isindex element.

Kbd Kbd Kbd Kbd 50

HTML-элемент kbd.The HTML kbd element.

Label Label Label Label 51

HTML-элемент label.The HTML label element.

Legend Legend Legend Legend 52

HTML-элемент legend.The HTML legend element.

Li Li Li Li 53

HTML-элемент li.The HTML li element.

54

HTML-элемент link.The HTML link element.

Map Map Map Map 55

HTML-элемент map.The HTML map element.

Marquee Marquee Marquee Marquee 56

HTML-элемент marquee.The HTML marquee element.

Menu Menu Menu Menu 57

HTML-элемент menu.The HTML menu element.

Meta Meta Meta Meta 58

HTML-элемент meta.The HTML meta element.

Nobr Nobr Nobr Nobr 59

HTML-элемент nobr.The HTML nobr element.

Noframes Noframes Noframes Noframes 60

HTML-элемент noframes.The HTML noframes element.

Noscript Noscript Noscript Noscript 61

HTML-элемент noscript.The HTML noscript element.

Object Object Object Object 62

HTML-элемент object.The HTML object element.

Ol Ol Ol Ol 63

HTML-элемент ol.The HTML ol element.

Option Option Option Option 64

HTML-элемент option.The HTML option element.

P P P P 65

HTML-элемент p.The HTML p element.

Param Param Param Param 66

HTML-элемент param.The HTML param element.

Pre Pre Pre Pre 67

HTML-элемент pre.The HTML pre element.

Q Q Q Q 68

HTML-элемент q.The HTML q element.

Rt Rt Rt Rt 69

DHTML-элемент rt, который задает текст для элемента ruby.The DHTML rt element, which specifies text for the ruby element.

Ruby Ruby Ruby Ruby 70

DHTML-элемент ruby.The DHTML ruby element.

S S S S 71

HTML-элемент s.The HTML s element.

Samp Samp Samp Samp 72

HTML-элемент samp.The HTML samp element.

Script Script Script Script 73

HTML-элемент script.The HTML script element.

Select Select Select Select 74

HTML-элемент select.The HTML select element.

Small Small Small Small 75

HTML-элемент small.The HTML small element.

Span Span Span Span 76

HTML-элемент span.The HTML span element.

Strike Strike Strike Strike 77

HTML-элемент strike.The HTML strike element.

Strong Strong Strong Strong 78

HTML-элемент strong.The HTML strong element.

Style Style Style Style 79

HTML-элемент style.The HTML style element.

Sub Sub Sub Sub 80

HTML-элемент sub.The HTML sub element.

Sup Sup Sup Sup 81

HTML-элемент sup.The HTML sup element.

Table Table Table Table 82

HTML-элемент table.The HTML table element.

Tbody Tbody Tbody Tbody 83

HTML-элемент tbody.The HTML tbody element.

Td Td Td Td 84

HTML-элемент td.The HTML td element.

Textarea Textarea Textarea Textarea 85

HTML-элемент textarea.The HTML textarea element.

Tfoot Tfoot Tfoot Tfoot 86

HTML-элемент tfoot.The HTML tfoot element.

Th Th Th Th 87

HTML-элемент th.The HTML th element.

Thead Thead Thead Thead 88

HTML-элемент thead.The HTML thead element.

Title Title Title Title 89

HTML-элемент title.The HTML title element.

Tr Tr Tr Tr 90

HTML-элемент tr.The HTML tr element.

Tt Tt Tt Tt 91

HTML-элемент tt.The HTML tt element.

U U U U 92

HTML-элемент u.The HTML u element.

Ul Ul Ul Ul 93

HTML-элемент ul.The HTML ul element.

Unknown Unknown Unknown Unknown 0

Строка, переданная в качестве тега HTML, не распознается.The string passed as an HTML tag is not recognized.

Var Var Var Var 94

HTML-элемент var.The HTML var element.

Wbr Wbr Wbr Wbr 95

HTML-элемент wbr.The HTML wbr element.

Xml Xml Xml Xml 96

HTML-элемент xml.The HTML xml element.

Примеры

В следующем примере показано использование HtmlTextWriterTag перечисления.The following example demonstrates the use of the HtmlTextWriterTag enumeration. Во время подготовки к просмотру используется поле Img Img с именем writer.The Img field is used during rendering of an Img 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()

Комментарии

Данное перечисление позволяет в выходной поток для записи разметку HTML, а также серверные элементы управления HTML, в ответ на веб-запроса.This enumeration allows the output stream to write HTML mark up, along with HTML server controls, in response to a Web request.

Применяется к

Дополнительно