The HTML5 output Tag

The HTML5 <output> tag has to be placed within an HTML document if the calculation result has to be represented. The calculation pertains to those similar to what the script does.

The HTML5 <output> tag is a new tag in HTML5. It is also compatible with web browsers like Safari, Opera, Firefox and Goole Chrome. However, this is not accepted in Internet Explorer.

The use of HTML5 <output> tag is not limited since it provides support for both the Events Attributes and Global Attributes in HTML5.

There are three attributes for the HTML5 <output> tag. These are the following:

Attribute

Value

Description

for

element_id

This is important in showing the relationship between the calculation result and the various elements that were utilized to come up with the calculation

form

form_id

It determines one or more forms wherein the output element has to work along with

name

name

It is used in adding a name which is specific for the output element

 

Featured pages

Overview

Learn about HTML5 architecture, design principles and patterns on HTML5 Overview Tutorial. Become …

Tags

Learn about HTML5 tags and discover a new list of HTML5 tags. Find out about HTML5 tags support by…

Welcome

 Learn HTML5 development techniques, tips and tricks on our website. Find out what is required…

Date Time Picker

HTML5 forms use date and time controls regularly. HTML5 date and time controls are used by booking …