html5 What does the output tag mean? The methods of using the html5 output tag are all here. This article introduces the definition of the html5 output tag, as well as the method of using the html5 output tag (with code examples)
html5 output tag tag definition:
html5
1.for specifies the id list of one or more elements, separated by spaces. These elements describe the relationship between the elements used in the calculation and the results of the calculation.
2.form specifies a list of ids of one or more forms to which the
3.name specifies the name of the
Based on the example:
Example:
<form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0
<input type="range" id="a" value="50">100
+<input type="number" id="b" value="50">
=<output name="x" for="a b"></output>
</form>
Result:
##
The above is the detailed content of What does the html5 output tag mean? How to use the html5 output tag. For more information, please follow other related articles on the PHP Chinese website!
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn