Exemplo n.º 1
0
 /// <summary>
 /// The <c>&lt;base></c> tag specifies the base URL/target for all relative URLs in a document.
 /// There can be at maximum one <c>&lt;base></c> element in a document, and it must be inside the <c>&lt;head></c> element. <remarks> </remarks>
 ///  
 /// For more information see: <see cref="http://www.w3schools.com/tags/tag_base.asp"/>
 /// </summary>
 /// <param name="builder">Builder for the Html Component</param>
 /// <param name="attributes">Standard HTML Attributes (optional)</param>
 /// <returns></returns>
 public static IHtmlElement BaseElement(IBuilder builder, IHtmlAttributes attributes = null)
 {
     return builder.CreateElement("base", true, attributes);
 }
Exemplo n.º 2
0
 /// <summary>
 /// The <c>&lt;blockquote></c> tag specifies a section that is quoted from another source. <remarks></remarks>
 /// Browsers usually indent <c>&lt;blockquote></c> elements.<remarks> </remarks>
 /// 
 /// For more information see: <see cref="http://www.w3schools.com/tags/tag_blockquote.asp"/>
 /// </summary>
 /// <param name="builder">Builder for the Html Component</param>
 /// <param name="attributes">Standard HTML Attributes (optional)</param>
 /// <returns></returns>
 public static IHtmlElement BlockQuoteElement(IBuilder builder, IHtmlAttributes attributes = null)
 {
     return builder.CreateElement("blockquote", false, attributes);
 }
Exemplo n.º 3
0
 public static IHtmlElement ScriptElement(IBuilder builder, IHtmlAttributes attributes = null)
 {
     return builder.CreateElement("script", false, attributes);
 }
Exemplo n.º 4
0
 /// <summary>
 /// The <c>&lt;col></c> tag defines a table caption. <remarks></remarks>
 /// The <c>&lt;col></c> tag must be inserted immediately after the <c>&lt;table></c> tag. <remarks></remarks>
 /// Note: You can specify only one caption per table. <remarks></remarks>
 /// Tip: By default, a table caption will be center-aligned above a table. However, the CSS properties text-align and caption-side can be used to align and place the caption. <remarks> </remarks>
 /// 
 /// For more information see: <see cref="http://www.w3schools.com/tags/tag_col.asp"/>
 /// </summary>
 /// <param name="builder">Builder for the Html Component</param>
 /// <param name="attributes">Standard HTML Attributes (optional)</param>
 /// <returns></returns>
 public static IHtmlElement ColumnElement(IBuilder builder, IHtmlAttributes attributes = null)
 {
     return builder.CreateElement("col", false, attributes);
 }
Exemplo n.º 5
0
 /// <summary>
 /// The <c>&lt;audio></c> tag defines sound, such as music or other audio streams.
 /// Currently, there are 3 supported file formats for the <c>&lt;audio></c> element: MP3, Wav, and Ogg:<remarks> </remarks>
 /// 
 /// For more information see: <see cref="http://www.w3schools.com/tags/tag_audio.asp"/>
 /// </summary>
 /// <param name="builder">Builder for the Html Component</param>
 /// <param name="attributes">Standard HTML Attributes (optional)</param>
 /// <returns></returns>
 public static IHtmlElement AudioElement(IBuilder builder, IHtmlAttributes attributes = null)
 {
     return builder.CreateElement("a", false, attributes);
 }
Exemplo n.º 6
0
 /// <summary>
 /// The <c>&lt;button></c> tag defines a clickable button.<remarks></remarks>
 /// Inside a <c>&lt;button></c> element you can put content, like text or images. <remarks></remarks>
 /// This is the difference between this element and buttons created with the <c>&lt;input></c> element. <remarks></remarks>
 /// Tip: Always specify the type attribute for a <c>&lt;button></c> element. Different browsers use different default types for the <c>&lt;button></c> element. <remarks> </remarks>
 /// 
 /// For more information see: <see cref="http://www.w3schools.com/tags/tag_button.asp"/>
 /// </summary>
 /// <param name="builder">Builder for the Html Component</param>
 /// <param name="attributes">Standard HTML Attributes</param>
 /// <returns></returns>
 public static IHtmlElement ButtonElement(IBuilder builder, IHtmlAttributes attributes = null)
 {
     return builder.CreateElement("button", false, attributes);
 }
Exemplo n.º 7
0
 /// <summary>
 /// The <c>&lt;abbr></c> tag defines an abbreviation or an acronym, like "Mr.", "Dec.", "ASAP", "ATM". <remarks></remarks>
 /// Tip: An abbreviation and an acronym are both shortened versions of something else. Both is often represented as a series of letters. <remarks></remarks>
 /// Marking up abbreviations can give useful information to browsers, translation systems and search-engines. <remarks> </remarks>
 /// 
 /// For more information see: <see cref="http://www.w3schools.com/tags/tag_abbr.asp"/>
 /// </summary>
 /// <param name="builder">Builder for the Html Component</param>
 /// <param name="attributes">Standard HTML Attributes (optional)</param>
 public static IHtmlElement AbbreviationElement(IBuilder builder, IHtmlAttributes attributes = null)
 {
     return builder.CreateElement("abbr", false, attributes);
 }