Home  >  Article  >  Web Front-end  >  HTML meter tag understanding and color change rules

HTML meter tag understanding and color change rules

黄舟
黄舟Original
2017-06-29 14:09:582412browse

If there is any error, please indicate it

The max and minattributes of the meter tagare defined on the two sides, low and high is defined in the middle.

This divides 3 intervals.

The difference between optimal value and value determines the different colors displayed.

The rule is:

If the value value is in the same range as the optimal value, it will be displayed in green;

Then value values ​​that are not in the same interval as the optimal value are centered on the interval where the optimal value is located, and the intervals to the left and right are colored yellow and red in sequence.


The above is the detailed content of HTML meter tag understanding and color change rules. 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