Important Notice:

Course Content
Heading Tag / Paragraph Tag
0/2
Horizontal Rules (HR element)
0/1
Font Element
0/1
Image Element
0/1
HTML Basic (Chapter 3) M2-R5.1
About Lesson

HTML5 Tag:-

11. Meter Tag:-

किसी known range में एक measurement को represent या indicate करने के लिए HTML5 का <meter> tag use किया जाता है। एक Known range उस range को कहा जाता है जिसकी एक minimum value होती है और एक maximum value होती है।

            <meter> tag को कभी भी progress bars की तरह progress represent करने के लिए नहीं use किया जाना चाहिए। Webpage में progress bar create करने के लिए आपको <progress> tag use करना चाहिए।

Syntax

<meter>Text</meter>

Attributes

  1. Value: Value attribute के द्वारा आप वह value define करते है जिसे आप represent करना चाहते है।
  2. Min: इस attribute द्वारा आप range की minimum value define करते है। यदि min attribute define नहीं किया गया है तो range की minimum value 0 मानी जाती है।
  3. Max:- इस attribute द्वारा range की maximum value define की जाती है। यदि कोई maximum value नहीं define की गयी है तो maximum value 1 मानी जाती है।
  4. Low:- इस attribute द्वारा आप range का lower value part define करते है। जब value attribute की value low attribute की value से कम होती है तो widget का color change हो जाता है जो दर्शाता है की value lowest value से lower है।
  5. High:- इस attribute द्वारा आप range का higher value part define करते है। जब value attribute की value high attribute की value से अधिक हो तो widget का color chagne हो जाता है जो दर्शाता है की value highest value से अधिक है।
12. Ruby Tag:-         

<ruby> tag किसी text के लिए annotation specify करता है। एक annotation एक small text होता है जो main text का मतलब समझाता है या फिर उसमे use होने वाले characters का सही pronunciation करने में मदद करता है।

Syntax

<ruby><rb>main text</rb><rt>ruby text (explanation)</rt></ruby>

Attributes of HTML <ruby> Tag
  • <ruby>- यह एक inline element होता है। यह tag दूसरे tags के लिए container की तरह काम करता है। इसमें main text और ruby text को <rb> और <rt> tag के द्वारा specify किया जाता है।
  • <rb>- इस tag को ruby base कहा जाता है। इस tag के द्वारा आप main text define करते है।
  • <rt>- इस tag को ruby text कहा जाता है। इस tag के द्वारा आप ruby text define करते है।
  • <rp>- यह tag ruby text के दोनों तरफ parenthesis add कर देता है। यह उन browser में काम करता है जो ruby tag को support नहीं करते है। जो browser ruby tag को support करते है वे इस tag को ignore कर देते है।

 

HTML 5 Tag:-

11. Meter Tag:-

HTML5’s <meter> tag is used to represent or indicate a measurement in a known range. A known range is that range which has a minimum value and a maximum value.

            The <meter> tag should never be used to represent progress like progress bars. To create progress bar in a webpage, you should use <progress> tag.

Syntax

<meter>Text</meter>

Attributes
  1. Value: Through the value attribute you define the value you want to represent.
  2. Min: Through this attribute you define the minimum value of the range. If min attribute is not defined then the minimum value of the range is considered to be
  3. Max:- The maximum value of the range is defined by this attribute. If no maximum value is defined then the maximum value is considered to be
  4. Low:- By this attribute you define the lower value part of the range. When the value of value attribute is less than the value of low attribute then the color of the widget changes which shows that the value is lower than the lowest value.
  5. High:- By this attribute you define the higher value part of the range. When the value of the value attribute is greater than the value of the high attribute, the color of the widget turns gray, indicating that the value is greater than the highest value.

 

12. Ruby Tag:-   

The <ruby> tag specifies annotations for some text. An annotation is a small text that explains the meaning of the main text or helps in correct pronunciation of the characters used in it.

Syntax

<ruby><rb>main text</rb><rt>ruby text (explanation)</rt></ruby>

Attributes of HTML <ruby> Tag
  • <ruby>- This is an inline element. This tag acts as a container for other tags. In this, main text and ruby text are specified through <rb> and <rt> tags.
  • <rb>- This tag is called ruby base. Through this tag you define the main text.
  • <rt>- This tag is called ruby text. Through this tag you define ruby text.
  • <rp>- This tag adds parentheses on both sides of the ruby text. It works in browsers that do not support ruby tag. Browsers that support ruby tag ignore this tag.
error: Content is protected !!