160 instantiations of HtmlTargetElementAttribute
ControllersFromServicesWebSite (1)
TagHelpers\InServicesTagHelper.cs (1)
9[HtmlTargetElement("InServices")]
Microsoft.AspNetCore.Mvc.Razor (31)
TagHelpers\BodyTagHelper.cs (1)
13[HtmlTargetElement("body")]
TagHelpers\HeadTagHelper.cs (1)
13[HtmlTargetElement("head")]
TagHelpers\UrlResolutionTagHelper.cs (29)
23[HtmlTargetElement("*", Attributes = "[itemid^='~/']")] 24[HtmlTargetElement("a", Attributes = "[href^='~/']")] 25[HtmlTargetElement("applet", Attributes = "[archive^='~/']")] 26[HtmlTargetElement("area", Attributes = "[href^='~/']", TagStructure = TagStructure.WithoutEndTag)] 27[HtmlTargetElement("audio", Attributes = "[src^='~/']")] 28[HtmlTargetElement("base", Attributes = "[href^='~/']", TagStructure = TagStructure.WithoutEndTag)] 29[HtmlTargetElement("blockquote", Attributes = "[cite^='~/']")] 30[HtmlTargetElement("button", Attributes = "[formaction^='~/']")] 31[HtmlTargetElement("del", Attributes = "[cite^='~/']")] 32[HtmlTargetElement("embed", Attributes = "[src^='~/']", TagStructure = TagStructure.WithoutEndTag)] 33[HtmlTargetElement("form", Attributes = "[action^='~/']")] 34[HtmlTargetElement("html", Attributes = "[manifest^='~/']")] 35[HtmlTargetElement("iframe", Attributes = "[src^='~/']")] 36[HtmlTargetElement("img", Attributes = "[src^='~/']", TagStructure = TagStructure.WithoutEndTag)] 37[HtmlTargetElement("img", Attributes = "[srcset^='~/']", TagStructure = TagStructure.WithoutEndTag)] 38[HtmlTargetElement("input", Attributes = "[src^='~/']", TagStructure = TagStructure.WithoutEndTag)] 39[HtmlTargetElement("input", Attributes = "[formaction^='~/']", TagStructure = TagStructure.WithoutEndTag)] 40[HtmlTargetElement("ins", Attributes = "[cite^='~/']")] 41[HtmlTargetElement("link", Attributes = "[href^='~/']", TagStructure = TagStructure.WithoutEndTag)] 42[HtmlTargetElement("menuitem", Attributes = "[icon^='~/']")] 43[HtmlTargetElement("object", Attributes = "[archive^='~/']")] 44[HtmlTargetElement("object", Attributes = "[data^='~/']")] 45[HtmlTargetElement("q", Attributes = "[cite^='~/']")] 46[HtmlTargetElement("script", Attributes = "[src^='~/']")] 47[HtmlTargetElement("source", Attributes = "[src^='~/']", TagStructure = TagStructure.WithoutEndTag)] 48[HtmlTargetElement("source", Attributes = "[srcset^='~/']", TagStructure = TagStructure.WithoutEndTag)] 49[HtmlTargetElement("track", Attributes = "[src^='~/']", TagStructure = TagStructure.WithoutEndTag)] 50[HtmlTargetElement("video", Attributes = "[src^='~/']")] 51[HtmlTargetElement("video", Attributes = "[poster^='~/']")]
Microsoft.AspNetCore.Mvc.TagHelpers (70)
AnchorTagHelper.cs (11)
14[HtmlTargetElement("a", Attributes = ActionAttributeName)] 15[HtmlTargetElement("a", Attributes = ControllerAttributeName)] 16[HtmlTargetElement("a", Attributes = AreaAttributeName)] 17[HtmlTargetElement("a", Attributes = PageAttributeName)] 18[HtmlTargetElement("a", Attributes = PageHandlerAttributeName)] 19[HtmlTargetElement("a", Attributes = FragmentAttributeName)] 20[HtmlTargetElement("a", Attributes = HostAttributeName)] 21[HtmlTargetElement("a", Attributes = ProtocolAttributeName)] 22[HtmlTargetElement("a", Attributes = RouteAttributeName)] 23[HtmlTargetElement("a", Attributes = RouteValuesDictionaryName)] 24[HtmlTargetElement("a", Attributes = RouteValuesPrefix + "*")]
ComponentTagHelper.cs (1)
17[HtmlTargetElement(TagHelperName, Attributes = ComponentTypeName, TagStructure = TagStructure.WithoutEndTag)]
DistributedCacheTagHelper.cs (1)
16[HtmlTargetElement("distributed-cache", Attributes = NameAttributeName)]
FormActionTagHelper.cs (27)
16[HtmlTargetElement("button", Attributes = ActionAttributeName)] 17[HtmlTargetElement("button", Attributes = ControllerAttributeName)] 18[HtmlTargetElement("button", Attributes = AreaAttributeName)] 19[HtmlTargetElement("button", Attributes = PageAttributeName)] 20[HtmlTargetElement("button", Attributes = PageHandlerAttributeName)] 21[HtmlTargetElement("button", Attributes = FragmentAttributeName)] 22[HtmlTargetElement("button", Attributes = RouteAttributeName)] 23[HtmlTargetElement("button", Attributes = RouteValuesDictionaryName)] 24[HtmlTargetElement("button", Attributes = RouteValuesPrefix + "*")] 25[HtmlTargetElement("input", Attributes = ImageActionAttributeSelector, TagStructure = TagStructure.WithoutEndTag)] 26[HtmlTargetElement("input", Attributes = ImageControllerAttributeSelector, TagStructure = TagStructure.WithoutEndTag)] 27[HtmlTargetElement("input", Attributes = ImageAreaAttributeSelector, TagStructure = TagStructure.WithoutEndTag)] 28[HtmlTargetElement("input", Attributes = ImagePageAttributeSelector, TagStructure = TagStructure.WithoutEndTag)] 29[HtmlTargetElement("input", Attributes = ImagePageHandlerAttributeSelector, TagStructure = TagStructure.WithoutEndTag)] 30[HtmlTargetElement("input", Attributes = ImageFragmentAttributeSelector, TagStructure = TagStructure.WithoutEndTag)] 31[HtmlTargetElement("input", Attributes = ImageRouteAttributeSelector, TagStructure = TagStructure.WithoutEndTag)] 32[HtmlTargetElement("input", Attributes = ImageRouteValuesDictionarySelector, TagStructure = TagStructure.WithoutEndTag)] 33[HtmlTargetElement("input", Attributes = ImageRouteValuesSelector, TagStructure = TagStructure.WithoutEndTag)] 34[HtmlTargetElement("input", Attributes = SubmitActionAttributeSelector, TagStructure = TagStructure.WithoutEndTag)] 35[HtmlTargetElement("input", Attributes = SubmitControllerAttributeSelector, TagStructure = TagStructure.WithoutEndTag)] 36[HtmlTargetElement("input", Attributes = SubmitAreaAttributeSelector, TagStructure = TagStructure.WithoutEndTag)] 37[HtmlTargetElement("input", Attributes = SubmitPageAttributeSelector, TagStructure = TagStructure.WithoutEndTag)] 38[HtmlTargetElement("input", Attributes = SubmitPageHandlerAttributeSelector, TagStructure = TagStructure.WithoutEndTag)] 39[HtmlTargetElement("input", Attributes = SubmitFragmentAttributeSelector, TagStructure = TagStructure.WithoutEndTag)] 40[HtmlTargetElement("input", Attributes = SubmitRouteAttributeSelector, TagStructure = TagStructure.WithoutEndTag)] 41[HtmlTargetElement("input", Attributes = SubmitRouteValuesDictionarySelector, TagStructure = TagStructure.WithoutEndTag)] 42[HtmlTargetElement("input", Attributes = SubmitRouteValuesSelector, TagStructure = TagStructure.WithoutEndTag)]
FormTagHelper.cs (1)
16[HtmlTargetElement("form")]
ImageTagHelper.cs (1)
22[HtmlTargetElement(
InputTagHelper.cs (1)
15[HtmlTargetElement("input", Attributes = ForAttributeName, TagStructure = TagStructure.WithoutEndTag)]
LabelTagHelper.cs (1)
13[HtmlTargetElement("label", Attributes = ForAttributeName)]
LinkTagHelper.cs (9)
25[HtmlTargetElement("link", Attributes = HrefIncludeAttributeName, TagStructure = TagStructure.WithoutEndTag)] 26[HtmlTargetElement("link", Attributes = HrefExcludeAttributeName, TagStructure = TagStructure.WithoutEndTag)] 27[HtmlTargetElement("link", Attributes = FallbackHrefAttributeName, TagStructure = TagStructure.WithoutEndTag)] 28[HtmlTargetElement("link", Attributes = FallbackHrefIncludeAttributeName, TagStructure = TagStructure.WithoutEndTag)] 29[HtmlTargetElement("link", Attributes = FallbackHrefExcludeAttributeName, TagStructure = TagStructure.WithoutEndTag)] 30[HtmlTargetElement("link", Attributes = FallbackTestClassAttributeName, TagStructure = TagStructure.WithoutEndTag)] 31[HtmlTargetElement("link", Attributes = FallbackTestPropertyAttributeName, TagStructure = TagStructure.WithoutEndTag)] 32[HtmlTargetElement("link", Attributes = FallbackTestValueAttributeName, TagStructure = TagStructure.WithoutEndTag)] 33[HtmlTargetElement("link", Attributes = AppendVersionAttributeName, TagStructure = TagStructure.WithoutEndTag)]
PartialTagHelper.cs (1)
17[HtmlTargetElement("partial", Attributes = "name", TagStructure = TagStructure.WithoutEndTag)]
PersistComponentStateTagHelper.cs (1)
16[HtmlTargetElement(TagHelperName, TagStructure = TagStructure.WithoutEndTag)]
RenderAtEndOfFormTagHelper.cs (1)
16[HtmlTargetElement("form")]
ScriptTagHelper.cs (9)
26[HtmlTargetElement("script", Attributes = SrcIncludeAttributeName)] 27[HtmlTargetElement("script", Attributes = SrcExcludeAttributeName)] 28[HtmlTargetElement("script", Attributes = FallbackSrcAttributeName)] 29[HtmlTargetElement("script", Attributes = FallbackSrcIncludeAttributeName)] 30[HtmlTargetElement("script", Attributes = FallbackSrcExcludeAttributeName)] 31[HtmlTargetElement("script", Attributes = FallbackTestExpressionAttributeName)] 32[HtmlTargetElement("script", Attributes = AppendVersionAttributeName)] 33[HtmlTargetElement("script", Attributes = TypeAttributeName)] 34[HtmlTargetElement("script", Attributes = ImportMapAttributeName)]
SelectTagHelper.cs (2)
17[HtmlTargetElement("select", Attributes = ForAttributeName)] 18[HtmlTargetElement("select", Attributes = ItemsAttributeName)]
TextAreaTagHelper.cs (1)
13[HtmlTargetElement("textarea", Attributes = ForAttributeName)]
ValidationMessageTagHelper.cs (1)
14[HtmlTargetElement("span", Attributes = ValidationForAttributeName)]
ValidationSummaryTagHelper.cs (1)
14[HtmlTargetElement("div", Attributes = ValidationSummaryAttributeName)]
Microsoft.AspNetCore.Razor.Runtime.Test (42)
Runtime\TagHelpers\TestTagHelpers\TagHelperDescriptorFactoryTagHelpers.cs (42)
21[HtmlTargetElement("p")] 22[HtmlTargetElement("input")] 27[HtmlTargetElement("input", ParentTag = "div")] 32[HtmlTargetElement("p", ParentTag = "div")] 33[HtmlTargetElement("input", ParentTag = "section")] 38[HtmlTargetElement("p")] 39[HtmlTargetElement("input", ParentTag = "div")] 54[HtmlTargetElement("p")] 55[HtmlTargetElement("div")] 61[HtmlTargetElement("input", TagStructure = TagStructure.WithoutEndTag)] 66[HtmlTargetElement("p", TagStructure = TagStructure.NormalOrSelfClosing)] 67[HtmlTargetElement("input", TagStructure = TagStructure.WithoutEndTag)] 72[HtmlTargetElement("p")] 73[HtmlTargetElement("input", TagStructure = TagStructure.WithoutEndTag)] 124[HtmlTargetElement("p")] 125[HtmlTargetElement("div")] 131[HtmlTargetElement(Attributes = "class*")] 136[HtmlTargetElement(Attributes = "class*,style*")] 141[HtmlTargetElement(Attributes = "class")] 146[HtmlTargetElement(Attributes = "class,style")] 151[HtmlTargetElement(Attributes = "custom")] 152[HtmlTargetElement(Attributes = "class,style")] 157[HtmlTargetElement(Attributes = "style")] 162[HtmlTargetElement("input", Attributes = "class")] 167[HtmlTargetElement("div", Attributes = "class")] 172[HtmlTargetElement("div", Attributes = "class")] 173[HtmlTargetElement("input", Attributes = "class")] 178[HtmlTargetElement("input", Attributes = "style")] 179[HtmlTargetElement("input", Attributes = "class")] 184[HtmlTargetElement("input", Attributes = "class,style")] 189[HtmlTargetElement("div", Attributes = "style")] 194[HtmlTargetElement("div", Attributes = "class,style")] 195[HtmlTargetElement("input", Attributes = "class,style")] 200[HtmlTargetElement("p")] 201[HtmlTargetElement("div")] 211[HtmlTargetElement("p")] 212[HtmlTargetElement("p")] 213[HtmlTargetElement("div")] 214[HtmlTargetElement("div")] 219[HtmlTargetElement("data-condition")] 421[HtmlTargetElement("a")] 422[HtmlTargetElement("p")]
TagHelpersWebSite (16)
TagHelpers\AddProcessedAttributeTagHelper.cs (1)
8[HtmlTargetElement("input")]
TagHelpers\AutoLinkerTagHelper.cs (1)
9[HtmlTargetElement("p")]
TagHelpers\BoldTagHelper.cs (1)
8[HtmlTargetElement(Attributes = "bold")]
TagHelpers\ConditionTagHelper.cs (3)
8[HtmlTargetElement("div")] 9[HtmlTargetElement("style")] 10[HtmlTargetElement("p")]
TagHelpers\CustomEncoderTagHelper.cs (1)
9[HtmlTargetElement("pre")]
TagHelpers\DefaultEncoderTagHelper.cs (2)
8[HtmlTargetElement("pre")] 9[HtmlTargetElement("inner")]
TagHelpers\DictionaryPrefixTestTagHelper.cs (1)
10[HtmlTargetElement(Attributes = "prefix-*")]
TagHelpers\NestedViewImportsTagHelper.cs (1)
8[HtmlTargetElement("nested")]
TagHelpers\NullEncoderTagHelper.cs (1)
8[HtmlTargetElement("pre")]
TagHelpers\PrettyTagHelper.cs (1)
10[HtmlTargetElement("*")]
TagHelpers\RootViewStartTagHelper.cs (1)
8[HtmlTargetElement("root")]
TagHelpers\SurroundTagHelper.cs (1)
8[HtmlTargetElement(Attributes = nameof(Surround))]
TagHelpers\TagCloudViewComponentTagHelper.cs (1)
14[HtmlTargetElement("tag-cloud")]
5 references to HtmlTargetElementAttribute
Microsoft.AspNetCore.Razor (4)
TagHelpers\HtmlTargetElementAttribute.cs (2)
18/// Instantiates a new instance of the <see cref="HtmlTargetElementAttribute"/> class that targets all HTML 28/// Instantiates a new instance of the <see cref="HtmlTargetElementAttribute"/> class with the given
TagHelpers\RestrictChildrenAttribute.cs (2)
9/// <remarks>Combining this attribute with a <see cref="HtmlTargetElementAttribute"/> that specifies its 10/// <see cref="HtmlTargetElementAttribute.TagStructure"/> as <see cref="TagStructure.WithoutEndTag"/> will result
Microsoft.AspNetCore.Razor.Runtime (1)
Properties\AssemblyInfo.cs (1)
10[assembly: TypeForwardedTo(typeof(HtmlTargetElementAttribute))]