Fandom

HTML & CSS Wiki

Volume

649pages on
this wiki
Add New Page
Comments0 Share

The volume property is used in CSS and certain HTML elements. This property refers to the median volume of the current voice. Pitch and inflection variations may vary well above and below this value. The default minimum and maximum values (0/100) should be controllable by the user.

ValuesEdit

  • inherit - Explicitly sets the value of this property to that of the parent.
  • silent - No sound at all. The time that would have been taken to aurally render the element is still taken, but no sound is made. Any specified pause properties before/after the element are also rendered. This behavior is different than the speak property being set to none.
  • x-soft - Same as 0.
  • soft - Same as 25.
  • medium - Same as 50.
  • loud - Same as 75.
  • x-loud - Same as 100.
  • <number> - A number between 0 and 100. 0 represents the minimum audible volume level (not the same effect as silent) and 100 corresponds to the maximum comfortable volume level.
  • <percentage> - This measure is relative to the inherited value for the volume property, and is clipped to the range 0 to 100.


HTML example:

<body style="volume:medium;">
Body content.
</body>


CSS example:

body {
      volume:medium;
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.