<rp id="kr9h0"><video id="kr9h0"><object id="kr9h0"></object></video></rp> element, and it is marked black border around it; and if you want a stylish or change the behavior of the frame, then CSS is used here. This tag is completely different from
tag. And this tag supports all the browsers like Chrome, android, firefox, Opera, Internet Explorer. And all these elements are uniform with all the browsers.<\/p>\n

Code:<\/strong><\/p>\n\n\n

\n\nText\n<\/legend>\n… Content\n
<\/pre>\n

Have to provide both the Starting and Ending Tags.<\/p>\n

Attributes<\/h3>\n

In general, HTML tags has one or more attributes that provide a great aspect of an HTML element. The Legend Tag supports all the defined global attributes. Some attributes don’t support modern web browsers. The following table gives the tag attributes with their descriptions.<\/p>\n

1. Tag-Specific Attributes<\/h4>\n

align:?<\/strong>Defines an alignment of the title or caption given in the form with respect to the parent

.<\/p>\n

Code:<\/strong><\/p>\n

\nAlign\ndemo:<\/legend><\/pre>\n

Note:<\/strong> For a clear alignment, it is better to use CSS-Align for the variations of an element.<\/p>\n

2. Standard Attributes<\/h4>\n

The description of these attributes has already been discussed in the previous article.<\/p>\n

    \n
  • Access key<\/li>\n
  • class<\/li>\n
  • dir<\/li>\n
  • id<\/li>\n
  • Style<\/li>\n
  • lang<\/li>\n
  • id<\/li>\n
  • tab index<\/li>\n
  • title<\/li>\n<\/ul>\n

    3. Global Attributes<\/h4>\n

    The legend tag also accepts Previously discussed Global Attributes, which is a standard across all the HTML5 elements. Some are listed below:<\/p>\n

    \n\n\n
    \n

    <\/p>\n

    \n\n\n\n\n\n\n
    \n

    Context<\/strong><\/p>\n<\/td>\n

    \n

    Define the Context<\/strong><\/p>\n<\/td>\n<\/tr>\n

    \n

    Dir<\/p>\n<\/td>\n

    \n

    ?The values give the path of the text.<\/p>\n<\/td>\n<\/tr>\n

    \n

    Id<\/p>\n<\/td>\n

    \n

    ?Its identifier must match the value of a name.<\/p>\n<\/td>\n<\/tr>\n

    \n

    Style<\/p>\n<\/td>\n

    \n

    ?Specifies the inline and external styles.<\/p>\n<\/td>\n<\/tr>\n

    \n

    Lang<\/p>\n<\/td>\n

    \n

    Determines the language used in the text.<\/p>\n\n\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>Context

    <\/h4>\n<\/td>\n

    \n

    <\/p>\n

    \n\n\n\n\n\n\n\n\n\n\n\n
    onabort<\/td>\nIt is called when a particular event has been aborted. For example, the web browser immediately video before it is completely downloaded.<\/td>\n<\/tr>\n
    onblur<\/td>\nDefines the focus of the element.<\/td>\n<\/tr>\n
    oncancel<\/td>\nStops the processed event handler.<\/td>\n<\/tr>\n
    Onclick<\/td>\nTriggers when a click is done<\/td>\n<\/tr>\n
    onchange<\/td>\nWhen a click is done somewhere.<\/td>\n<\/tr>\n
    onfocus<\/td>\nTriggered when the focus is on the given element<\/td>\n<\/tr>\n<\/tbody>\n<\/table>Define the Context\n<\/td>\n<\/tr>\n
    \n

    Dir\n<\/p>\n<\/td>\n

    \n

    ?The values give the path of the text.\n<\/p>\n<\/td>\n<\/tr>\n

    \n

    Id\n<\/p>\n<\/td>\n

    \n

    ?Its identifier must match the value of a name.\n<\/p>\n<\/td>\n<\/tr>\n

    \n

    Style\n<\/p>\n<\/td>\n

    \n

    ?Specifies the inline and external styles.\n<\/p>\n<\/td>\n<\/tr>\n

    \n

    Lang\n<\/p>\n<\/td>\n

    \n

    Determines the language used in the text.\n\n\n<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n4. Event Attributes\n\n

    5. Other Attributes Are<\/h4>\n

    onmouse down, onmouse up, onmouse over, onmouse move, onmouse out, on focus, on blur, onkey press,onkey down,onkey up. The tags that come with the tag are listed below:<\/p>\n

      \n
    • <\/li>\n
    • <\/li>\n

    • <\/li>\n
    • <\/li>\n