﻿using CodedViews.Base;

// ReSharper disable CheckNamespace

namespace CodedViews.Html.Elements
{
    public static partial class HtmlExtensions
    {
        /// <summary>
        /// The <c>&lt;cite></c> tag defines the title of a work (e.g. a book, a song, a movie, a TV show, a painting, a sculpture, etc.). <remarks></remarks>
        /// Note: A person's name is not the title of a work. <remarks> </remarks>
        /// 
        /// For more information see: <see cref="http://www.w3schools.com/tags/tag_cite.asp"/>
        /// </summary>
        /// <param name="builder">Builder for the Html Component</param>
        /// <param name="attributes">Standard HTML Attributes (optional)</param>
        /// <returns></returns>
        public static IHtmlElement Cite(this IBuilder builder, IHtmlAttributes attributes = null)
        {
            return builder.CreateElement("cite", false, attributes);
        }
    }
}
