Пример #1
0
        public HtmlDTDTypeEnum DTDType;              // Document Type Definition
        //public bool Head;
        #endregion

        public HtmlTag(string TagName, HtmlTagTypeEnum TagType, HtmlBoundTypeEnum StartTagType, HtmlBoundTypeEnum EndTagType, bool Empty, bool Deprecated, HtmlDTDTypeEnum DTDType)
        {
            this.TagName = TagName;
            this.TagType = TagType;
            this.StartBoundType = StartTagType;
            this.EndBoundType = EndTagType;
            this.Empty = Empty;
            this.Deprecated = Deprecated;
            this.DTDType = DTDType;
            this.TagCategory = HtmlTagCategoryEnum.NoCategory;
        }
Пример #2
0
 public static HtmlTag GetHtmlTag(HtmlTagTypeEnum TagType)
 {
     int i = gslTagList.IndexOfKey(TagType);
     if (i != -1) return gslTagList.Values[i];
     return null;
 }