728x90 AdSpace

  • Latest News

    HTML Attributes | HTML Reference


    HTML Reference

    HTML Attributes


    HTML / XHTML Standard Attributes


    The attributes listed below are standard, and are supported by all HTML and XHTML tags, with a few exceptions.


    Core Attributes

    Not valid in base, head, html, meta, param, script, style, and title elements.

    AttributeValueDescription
    classclassnameSpecifies a classname for an element
    ididSpecifies a unique id for an element
    stylestyle_definitionSpecifies an inline style for an element
    titletext Specifies extra information about an element



    Language Attributes

    Not valid in base, br, frame, frameset, hr, iframe, param, and script elements.

    AttributeValueDescription
    dirltr
    rtl
    Specifies the text direction for the content in an element
    langlanguage_codeSpecifies a language code for the content in an element. Language code reference
    xml:langlanguage_codeSpecifies a language code for the content in an element, in XHTML documents. Language code reference



    Keyboard Attributes


    AttributeValueDescription
    accesskeycharacterSpecifies a keyboard shortcut to access an element
    tabindexnumberSpecifies the tab order of an element
    • Blogger Comments
    • Facebook Comments

    0 comments:

    Post a Comment

    Item Reviewed: HTML Attributes | HTML Reference Rating: 5 Reviewed By: Unknown
    Scroll to Top