แอตทริบิวต์ HTML ต่ำกำหนดช่วงที่ค่าของมาตรวัดถือเป็นค่าต่ำในเอกสาร HTML ใช้ได้กับ มิเตอร์ . เท่านั้น องค์ประกอบ HTML
ไวยากรณ์
ต่อไปนี้เป็นไวยากรณ์ -
<meter low=”number”></meter>
ให้เรามาดูตัวอย่าง HTML low Attribute −
ตัวอย่าง
<!DOCTYPE html>
<html>
<style>
body {
color: #000;
height: 100vh;
background-color: #8BC6EC;
background-image: linear-gradient(135deg, #8BC6EC 0%, #9599E2 100%);
text-align: center;
}
</style>
<body>
<h1>HTML low Attribute Demo</h1>
<p>Download:</p>
<meter min="0" max="100" low="10" high="90" value="50"></meter>
</body>
</html> ผลลัพธ์
